on 04-28-2006 11:41 AM
Hi all,
I have created a Tree component in Webdynpro. It is working fine. But the thing is when i add a new child to this tree the tree is not showing all its childs. It is in minimize mode (Not displaying childs).
Only the root node is displaying. I have to expand this manually. Is there any way to expand this tree automatically when i add a new child.
Pls any body help me out.
regards,
Sunil
Hi Sunil,
Create a attribute inside your parent node "isExpanded" of type boolean and set the value to true at the time of child element creation.
Also assign this attribute to the Expanded property of your node.
Regards,
Rajeev
Message was edited by: Rajeev Ranjan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
Set context attribute wich is bound to Tree Node Type`s property "expanded" to true for appropriate node element (parent for new created children).
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 |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.