PDA

View Full Version : Tree & refresh node



Araberen
21 Dec 2011, 5:30 AM
Hi,

How can I refresh a tree node?

Simply: I set up my tree nodes with some records. Then I edit a tree node... (with a grid for instance). The record is well updated (locally & remotely) but the tree item is not refreshed!


console.log(myTree.getStore().getNodeById(<myTreeItemId>));
The log's result has the latest data (up to date so), but the display of the node is not up to date.

I don't want to use getStore().load, nor node.expand() neither node.collapse(). Why there isn't a node.refresh() method? :s

Any idea/solution?