Revision history [back]

click to hide/show revision 1
initial version

answered 2010-12-09 03:44:59 +0800

Meko gravatar image Meko

I think you forgot to use listcell. if you have 2 header then should use 2 listcell item.

        <listbox fixedLayout="true" id="box" mold="paging"
                    pageSize="31" rows="5" height="500px"
                    model="@{win$composer.AllProducts}"
                    selectedItem="@{win$composer.current}">

                    <listhead>
                        <listheader width="20px" id="checkbox" />
                        <listheader width="100px" id="productName"
                            label="Product_Name" sort="auto(name)" />
                        <listheader id="category" label="Category"
                            width="50px" sort="auto(cat)" />
                        <listheader id="quantity" label="Quant"
                            width="50px" sort="auto(quant)" />
                        <listheader id="cDate" label="Date" width="90px"
                            sort="auto(date)" />
                    </listhead>



                    <listitem self="@{each='event'}" value="@{event}">
                        <listcell>
                            <checkbox id="cbox"
                                forward="onCheck=onChecked" />
                        </listcell>
                        <listcell label="@{event.name}" />
                        <listcell label="@{event.cat}" />
                        <listcell label="@{event.quant}" />
                        <listcell label="@{event.date}" />



                    </listitem>

                </listbox>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More