Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个简单的 Ext.tree.Panel,它使用 ajax 代理从 Ext.data.TreeStore 加载其数据。
扩展树节点时的默认行为似乎是:
如何关闭缓存选项,使其永远不会缓存(即始终从服务器检索)?
将其作为监听器放在商店中以获得所需的行为:
collapse: function(node){ node.removeAll(); node.set("loaded", false); }