PDA

View Full Version : refreshNode in Tree



shailykamboj
3 Mar 2012, 7:38 AM
Hello ,
I am usign treePanel to show some data in my application . On selection of a context menu item on any tree node i have to referesh that particular tree node also .
In tree view i found the method refreshNode(index) , but seems its not working ..any inputs please ?

var index = me.getTree().getView().indexOf(selectedNode);
//i am getting proper index value here but on passing it to refreshNode nothing is //happening !!
me.getTree().getView().refreshNode(index);

Thanks

vietits
3 Mar 2012, 5:55 PM
What would you expect to happen when refreshing node?