-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi All ,
i want to write below code in Grid detail format. But getting error at detail tag
Unsupported parent for detail: <Listbox customerList>. How to solve this error.
<listbox id="customerList" model="@{myList}" mold="paging" pageSize="2" multiple="true" width="800px" rows="${custCount}"> <listhead sizable="true"> <listheader label="Id" sort="auto(id)"/> <listheader label="Name" sort="auto(name)"/> <listheader label="Active Date" sort="auto(date)"/> <listheader label="Deleted?" /> </listhead> <detail open="false" fulfill="onOpen=/widgets/grid/hierarchy/season.zul" /> <listitem self="@{each=myList}" onClick="showEdit(self.getLabel())"> <listcell label="@{myList.id}" /> <listcell label="@{myList.name}" /> <listcell label="@{myList.date}" /> <listcell label="@{myList.deleted}"/> </listitem> </listbox>
Have a look in the documentation here. The detail component is used in combination with the grid component.
The detail component is used to display a detailed section where a master row and multiple detail rows are on the same row.
best
Stephan
can u show me the small example with mysql database
Asked: 2012-05-11 14:25:45 +0800
Seen: 166 times
Last updated: May 14 '12