Treefoot"

From Documentation
m ((via JWB))
 
(6 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
*Java API: <javadoc>org.zkoss.zul.Treefoot</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Treefoot</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.sel.Treefoot</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.sel.Treefoot</javadoc>
*Style Guide: [http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Treefooter Treefooter]
+
*Style Guide: [[ZK_Style_Guide/XUL_Component_Specification/Treefooter|Treefooter]]
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 16: Line 16:
 
= Example =
 
= Example =
  
[[Image:tree.png]]  
+
[[Image:ZKComRef_Tree_Example.png]]  
  
 
<source lang="xml" >
 
<source lang="xml" >
<window title="tree demo" border="normal">
+
<window title="tree demo" border="normal" width="400px" >
<tree id="tree" width="400px" rows="5">
+
<tree id="tree" rows="5">
 
<treecols sizable="true">
 
<treecols sizable="true">
 
<treecol label="Name" />
 
<treecol label="Name" />
Line 46: Line 46:
 
<treerow>
 
<treerow>
 
<treecell label="Item 2.2" />
 
<treecell label="Item 2.2" />
<treecell label="Item 2.2 is something who cares" />
+
<treecell
 +
label="Item 2.2 is something who cares" />
 
</treerow>
 
</treerow>
 
</treeitem>
 
</treeitem>
Line 59: Line 60:
 
</tree>
 
</tree>
 
</window>
 
</window>
 
 
</source>
 
</source>
  
 +
=Supported Events=
  
 
+
{| class='wikitable' | width="100%"
 
 
=Supported events=
 
 
 
{| border="1" | width="100%"
 
 
! <center>Name</center>
 
! <center>Name</center>
 
! <center>Event Type</center>
 
! <center>Event Type</center>
Line 74: Line 71:
 
| None
 
| None
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]]
  
 
=Supported Children=
 
=Supported Children=
  [[ZK_Component_Reference/Data/Tree/Treefooter | Treefooter]]
+
  *[[ZK_Component_Reference/Data/Tree/Treefooter | Treefooter]]
  
=Use cases=
+
=Use Cases=
  
[[ZK_Component_Reference/Data/Tree#Use_cases | Tree]]
+
[[ZK_Component_Reference/Data/Tree#Use_Cases | Tree]]
  
 
=Version History=
 
=Version History=
 
{{LastUpdated}}
 
{{LastUpdated}}
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-

Latest revision as of 11:05, 7 January 2022

Treefoot

Employment/Purpose

A treefoot is main part of tree which contains set of footers. The set of footers is defined by a number of treefooter components. Each column will appear as a footer at the bottom of the tree.


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

* Treefooter

Use Cases

Tree

Version History

Last Update : 2022/01/07


Version Date Content
     



Last Update : 2022/01/07

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