View Full Version : Cache tree

29 Oct 2009, 2:28 AM
How can i cache the tree or save it in cookies?
I have own method to load nodes through AJAX, but sometimes i need to cache the tree.

expandnode: function(node,e){
if (node == myTreePanel.root) {
Ext.state.Manager.set("myTree", root);

It doesn't work.

As far as i understand to use JsonStore i need to specify fields, but i don't know how deep the tree is... Can i still use JsonStore?

29 Oct 2009, 5:23 AM
There isn't anything at this forum about what i'm asking...