Treecol"

From Documentation
Line 12: Line 12:
 
= 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 05:00, 11 May 2010

Treecol

Employment/Purpose

A treecol is a top column of tree, Its parent must be Treecols.

Example

Treecol.png

<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

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/05/11

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