on 02-15-2006 3:44 PM
Hi All,
I have a non recursive tree with four levels (the first level is the root node).
Each node is bound to a context node.
The default lead selection is "1" for all nodes so the tree look like this.
Root
--Level 1-1
-
Level 2-1
-
Level 3-1
-
Level 3-2
-
Level 3-3
--Level 1-2
--Level 1-3
The selected node is "3-1"
Under level 1-2 and 1-3 there are more elements but I cannot see them because of the lead selection.
How do I expand all the elements as default?
Thanks,
Omri
Hi Omri,
So, what is the issue? Just iterate through node elements (recursevely in case of the same names for "expanded" attribute and for parent-child relation or just using 3 different methods otherwise) and set appropriate attribute value of node element which is bound to "expanded" property of UI element.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.