-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
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>