Treecols"
From Documentation
m (→Example) |
|||
Line 13: | Line 13: | ||
= Example = | = Example = | ||
+ | [[Image:treecol.png]] | ||
+ | <source lang="xml" > | ||
− | + | <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> | ||
+ | |||
+ | </source> | ||
=Supported events= | =Supported events= |
Revision as of 06:09, 11 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
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 |