I have a simple Ext.tree.Panel, which loads its data from a Ext.data.TreeStore using an ajax proxy.
The default behavior when expanding a treenode seems to be:
How can I turn off the caching option, so that it never caches (i.e. always retrieve from server)?
Put this as a listener in the store to get the desired behavior:
collapse: function(node){
node.removeAll();
node.set("loaded", false);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With