PDA

View Full Version : How to update a node of a TreeGrid



Ghurdyl
5 Sep 2011, 11:07 PM
Hello,

In my process I need to update a TreeGrid node when refreshing it's children.
So first, when I do
myTreeStore.load(myParentNode) my server replies with the parentNode and it's children.
Children are updated properly but the parent node is not. The new data are not even in the model, though it was in the server's response.

So when I'll find out how to update the parent node aswell, there will be one last problem, how to notify the view so that data in the columns have to be updated with the updated model ?

Thanks to help me out here :)

Ghurdyl
8 Sep 2011, 4:37 AM
Got the answer on premium

Update the node of a tree grid (http://www.sencha.com/forum/showthread.php?146280-Update-the-node-of-a-tree-grid)