Listitem"

From Documentation
Line 12: Line 12:
 
= Example =
 
= Example =
  
 +
[[Image:ZKComRef_Listitem.PNG]]
  
 +
<source lang="xml" >
  
 
+
<window title="listbox demo" border="normal">
 +
<listbox id="box" width="250px">
 +
<listhead sizable="true">
 +
<listheader label="name" sort="auto" />
 +
<listheader label="gender" sort="auto" />
 +
</listhead>
 +
<listitem>
 +
<listcell label="Mary" />
 +
<listcell label="FEMALE" />
 +
</listitem>
 +
<listitem>
 +
<listcell label="John" />
 +
<listcell label="MALE" />
 +
</listitem>
 +
<listitem>
 +
<listcell label="Jane" />
 +
<listcell label="FEMALE" />
 +
</listitem>
 +
<listitem>
 +
<listcell label="Henry" />
 +
<listcell label="MALE" />
 +
</listitem>
 +
<listfoot>
 +
<listfooter>
 +
<label value="This is footer1" />
 +
</listfooter>
 +
<listfooter>
 +
<label value="This is footer2" />
 +
</listfooter>
 +
</listfoot>
 +
</listbox>
 +
</window>
 +
</source>
  
 
=Supported events=
 
=Supported events=

Revision as of 10:21, 27 April 2010

(Your Component Name)

  • Demonstration:
  • Java API: XXX
  • JavaScript API: XXX

Employment/Purpose

A list item.

Example

ZKComRef Listitem.PNG

<window title="listbox demo" border="normal">
	<listbox id="box" width="250px">
		<listhead sizable="true">
			<listheader label="name" sort="auto" />
			<listheader label="gender" sort="auto" />
		</listhead>
		<listitem>
			<listcell label="Mary" />
			<listcell label="FEMALE" />
		</listitem>
		<listitem>
			<listcell label="John" />
			<listcell label="MALE" />
		</listitem>
		<listitem>
			<listcell label="Jane" />
			<listcell label="FEMALE" />
		</listitem>
		<listitem>
			<listcell label="Henry" />
			<listcell label="MALE" />
		</listitem>
		<listfoot>
			<listfooter>
				<label value="This is footer1" />
			</listfooter>
			<listfooter>
				<label value="This is footer2" />
			</listfooter>
		</listfoot>
	</listbox>
</window>

Supported events

Name
Event Type
None None

Supported Children

*ALL

Use cases

Version Description Example Location
5.0+    

Version History

Version Date Content
5.x.x x/x/20xx Initialization



Last Update : 2010/04/27

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.