View Full Version : How to reload a particular node of a treePanel with all its childnodes?

7 Jun 2012, 12:15 AM
Hi, guys! I have a treePanel and want to reload a particular node with all its childnodes. Now I get the node like this

var selectedNode = tree.getSelectionModel().getSelection();

curnode = selectedNode[0];

and then try to reload it with this code


node : curnode


Leaves are reloaded correctly, but folders - not. When I reload a folder, the code uploads the first folder of a tree to this folder and deletes all its childnodes.

Really need help!

11 Jun 2012, 6:53 AM
You may have to remove the nodes and then load it.