PDA

View Full Version : open a node in Tree comp. programmatically


ramone
03-06-2007, 02:54 PM
hello
i want to open a node inside the tree component from code, but i have searched the docs and it seems it's not possible (or there arent related methods yet) so i would like to ask you if its possible to open /close nodes from code

thanks for your help

acolyte
03-07-2007, 12:05 AM
Hi ramone ,

of cource there is a handle :


_level0.tree.selectedNode = _level0.tree.getTreeNodeAt(0).childNodes[0];
_level0.tree.selectedNode = _level0.tree.getTreeNodeAt(0).childNodes[1];


greets m@