on 08-16-2007 7:08 PM
I have the following Context node
SiteTree (0..n)
--> ChildNode (recursive SiteTree) |
|--> Name (string)
|--> ID (string)
|--> Expanded (boolean)
The ChildNode's expanded property is set to the SiteTree.Expanded value.
I am calling an RFC to create a new record, then calling another BAPI to refresh this node list.
What I want to do is after rebuilding this node, I want to expand the tree to a specific SiteTreeElement based on it's ID. I have built the recursive function that locates the appropriate SiteTreeElement and I set Expanded to true for this element. However this does not expand the tree, it is fully collapsed.
Any help would be greatly appreciated.
Easiest solution is perhaps to just select the specific node using setTreeSelection(element). The Tree has a built-in functionality to always expand the path to the tree selection.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.