So I used sencha ext js tree grid for the need of my project. I'm having difficulty finding the answer on how to reload the tree store with different data. thanks
Have you managed to load it properly the first time?
- Wojtek
I've faced the same problem and haven't found the good solution yet. But my problem is in reloading the one node data only.
- Dmitry Shost
You can try to use this solution (but it's not working for me): refreshNode.removeAll(false); this.getMyTreeStore().load({ node : refreshNode });
- Dmitry Shost
1 Answers
0
votes
TreeGrid is tree therefore you have to refresh it as tree
if you use AsyncTreeNode (with loaders) then you can use 'reload' method of the async mode:
TreeGrid.getRootNode().reload();
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
refreshNode.removeAll(false); this.getMyTreeStore().load({ node : refreshNode });- Dmitry Shost