-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have a problem with TREE Horizontal scrolling.I already used " AutoScroll " and "setSizedByContent()" methods. But these are not applicable for horizontal scrolling. Please give me suggestions to solve this Issue.
Thanks & Regards,
Siva Kumar
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>
Hi,
Thanks for Information . Presently I am using ZK 5.0.7 version. May be It will rectify in Version Update.
Your code is working fine . But ,
Here You are declaring tree as a STATIC functionality in ZUL file. But we are trying to define it dynamically in controller. So it is not working those attributes, what you said earlier.
So , Please give me any example code for dynamically creating tree.
Thanks in Advance
Asked: 2011-10-11 08:09:13 +0800
Seen: 255 times
Last updated: Oct 12 '11