-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi Need to specify the width(or vflex) and sizebycontent in the tree The following works in zk 5.08
<tree id="tree" height="200px" width="100px" rows="8" sizedByContent="true" >
<treecols >
<treecol label="Namexxx" />
</treecols>
<treechildren>
<treeitem>
<treerow>
<treecell label="Item 2" />
</treerow>
<treechildren>
<treeitem open="false">
<treerow >
<treecell label="Item 2.1" />
</treerow>
<treechildren>
<treeitem open="false">
<treerow>
<treecell label="Item 2.1.1" />
</treerow>
<treechildren>
<treeitem open="false">
<treerow>
<treecell label="Item 2.1.1" />
</treerow>
<treechildren>
<treeitem open="false">
<treerow>
<treecell
label="Item 2.1.1" />
</treerow>
<treechildren>
<treeitem open="false">
<treerow>
<treecell
label="Item 2.1.1" />
</treerow>
<treechildren>
<treeitem open="false">
<treerow>
<treecell
label="Item 2.1.1" />
</treerow>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</tree>