on 08-31-2005 4:06 AM
Hi,
I have Tree Node UI Element with 5 Nodes.
Tree
|
|- Node 1
|- Node 2
|- Node 3
|- Node 4
|- Node 5
When I click on the page and the Tree UI shows up, I would like Node 3 to be expanded and not any other node.
Is there any way I could achieve the same.
Thank you.
NAC
Hi,
I guess you are talking about five elements of a node..
use
wdContext.node<nodename>().setLeadSelection(<the number of the node element in this case 2>);
after setting the expanded property to true ..
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SAP Partner,
Set the property 'expanded' of the treeNodetype element to a boolean attribute. Set this attribute as false for all the nodes except for the third node.
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try the following.
wdContext.NodeNode3().setTreeSelection(Node3Element);
where node3Element is of type Node3Element.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.