TheBigOnion
19 May 2011, 12:04 PM
Hello all,
I am trying to expand a child node in a tree after I reload it. The only information I have when I click the context menu is the node url. (I think)
Here is what I have tried.
Ext.tree.tree_control.getRootNode().reload();
Ext.tree.tree_control.expandPath(Ext.tree.context_menu.node.attributes.id);
I want it to re-open to the child node I was on when I right click and used the context menu.
Thanks.
I am trying to expand a child node in a tree after I reload it. The only information I have when I click the context menu is the node url. (I think)
Here is what I have tried.
Ext.tree.tree_control.getRootNode().reload();
Ext.tree.tree_control.expandPath(Ext.tree.context_menu.node.attributes.id);
I want it to re-open to the child node I was on when I right click and used the context menu.
Thanks.