PDA

View Full Version : [CLOSED] TreePanel selected node (Server Side)



cwolcott
Dec 07, 2012, 5:08 PM
OK, here is a Friday afternoon question. How can I get the last selected node in a TreePanel on the server side. On the client I use:



var node = App.TreePanel01.getSelectionModel().getLastSelecte d();


In the long run I am trying to get the current select node and get its path (node.getPath), so that after I rebuild the tree and can expand the tree based on the path.

Baidaly
Dec 08, 2012, 12:23 AM
Hello!

Try to use


TreePanel.SelectedNodes