0

Unsupported parent for detail: <Listbox customerList>

asked 2012-05-11 14:25:45 +0800

manishashrm gravatar image manishashrm
195

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>
	         

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-05-12 07:29:35 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2012-05-12 07:30:33 +0800

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

link publish delete flag offensive edit

answered 2012-05-14 14:08:42 +0800

manishashrm gravatar image manishashrm
195

can u show me the small example with mysql database

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-05-11 14:25:45 +0800

Seen: 166 times

Last updated: May 14 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More