EXTJS 4.1树刷新特定节点
题
我想刷新树的节点。
我尝试这样的东西来刷新根目录并运行它:
this.getStore('MyTreeStore').load({ params: { id: this.getId().getValue()} });
.
但现在我想只刷新一个节点而不是整个树。
解决方案
我找到的最佳响应是:this.getStore('MyTreeStore').load({ node: someNode});
其他提示
this.getStore('t').getAt(0).load(this.getId().getValue())
将仅加载到传递给生成的记录的数据(
不隶属于 StackOverflow