Treecols"
From Documentation
Tmillsclare (talk | contribs) m |
|||
Line 3: | Line 3: | ||
= Treecols = | = Treecols = | ||
− | *Demonstration: | + | *Demonstration: N/A |
*Java API: <javadoc>org.zkoss.zul.Treecols</javadoc> | *Java API: <javadoc>org.zkoss.zul.Treecols</javadoc> | ||
*JavaScript API: <javadoc directory="jsdoc">zul.sel.Treecols</javadoc> | *JavaScript API: <javadoc directory="jsdoc">zul.sel.Treecols</javadoc> | ||
Line 65: | Line 65: | ||
=Supported Children= | =Supported Children= | ||
− | * | + | *NONE |
=Use cases= | =Use cases= | ||
Line 72: | Line 72: | ||
! Version !! Description !! Example Location | ! Version !! Description !! Example Location | ||
|- | |- | ||
− | | | + | | |
| | | | ||
| | | | ||
Line 82: | Line 82: | ||
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- | ||
− | | 5.0. | + | | 5.0.2 |
| 05/11/2010 | | 05/11/2010 | ||
| Initialization | | Initialization |
Revision as of 03:59, 14 May 2010
Treecols
Employment/Purpose
A treecols is main part of tree which contains set of columns. The set of columns is defined by a number of treecol components. Each column will appear as a column at the top of the tree.
Example
<window title="tree demo" border="normal" width="400px">
<tree id="tree" width="90%" rows="2">
<treecols sizable="true">
<treecol label="Name" />
<treecol label="Description" />
<treecol label="Remark" />
</treecols>
<treechildren>
<treeitem>
<treerow>
<treecell label="Item 1" />
<treecell label="Item 1 description" />
<treecell label="Item 1 remark" />
</treerow>
<treechildren>
<treeitem>
<treerow>
<treecell label="Item 1.2" />
<treecell label="Item 1.2 description" />
</treerow>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</tree>
</window>
Supported events
ColSizeEvent
Description: Notifies the parent of a group of headers that the widths of two of its children are changed by the user. |
Supported Children
*NONE
Use cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|
5.0.2 | 05/11/2010 | Initialization |