ツリー ストアを更新する方法は?
私はそのようにしようとしました:
Ext.getStore('myStore').setRootNode({child: []});
そして、ストアはサーバーに子を持つように要求しますが、時には二重に子を与えてくれます。私のツリーでは、次のようなものが得られます。
child1
child2
child1
また、JavaScriptエラーもあります:
Uncaught TypeError: Cannot read property 'internalId' of undefined
Ext.define.updateIndexes ext-all-debug.js:61588
Ext.define.onAdd ext-all-debug.js:61513
Base.implement.callParent ext-all-debug.js:3728
それはバグですか、それとも何か間違っていますか?