Treefooter"

From Documentation
Line 6: Line 6:
 
*Java API: <javadoc>org.zkoss.zul.Treefooter</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Treefooter</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.sel.Treefooter</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.sel.Treefooter</javadoc>
 +
*Style Guide: [http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Treefooter Treefooter]
  
 
= Employment/Purpose =
 
= Employment/Purpose =

Revision as of 01:46, 26 November 2010

Treefooter

Employment/Purpose

A treefooter is a bottom column of tree, Its parent must be Treefoot. You colud place any child in a tree footer.


Example

Example

ZKComRef Tree Example.png

<window title="tree demo" border="normal" width="400px" >
	<tree id="tree" rows="5">
		<treecols sizable="true">
			<treecol label="Name" />
			<treecol label="Description" />
		</treecols>
		<treechildren>
			<treeitem>
				<treerow>
					<treecell label="Item 1" />
					<treecell label="Item 1 description" />
				</treerow>
			</treeitem>
			<treeitem>
				<treerow>
					<treecell label="Item 2" />
					<treecell label="Item 2 description" />
				</treerow>
				<treechildren>
					<treeitem>
						<treerow>
							<treecell label="Item 2.1" />
						</treerow>
					</treeitem>
					<treeitem>
						<treerow>
							<treecell label="Item 2.2" />
							<treecell
								label="Item 2.2 is something who cares" />
						</treerow>
					</treeitem>
				</treechildren>
			</treeitem>
			<treeitem label="Item 3" />
		</treechildren>
		<treefoot>
			<treefooter label="Count" />
			<treefooter label="Summary" />
		</treefoot>
	</tree>
</window>

Supported events

Name
Event Type
None None

Supported Children

*ALL

Use cases

Tree

Version History

Last Update : 2010/11/26


Version Date Content
     



Last Update : 2010/11/26

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