PDA

View Full Version : Reload a node in a dynamic treestore/treepanel



pascal_chronotech
22 Nov 2012, 11:43 PM
How can i reload a node within a treestore ?

I use this.getStore().getNodeById(id) to retrieve the node but i didn't find function to reload this node :s

vietits
23 Nov 2012, 2:17 AM
Try this:


var node = this.getStore().getNodeById(id);
node.collapse();
node.set('loaded', false);
node.expand();