Hi,
how to refresh a Tree Store ?
I tried to do like that:
Code:
Ext.getStore('myStore').setRootNode({child: []});
And then the Store will request the Server to have children but sometimes it gives me a child in double.
In my Tree I get something like:
Code:
child1
child2
child1
and there is also a javascript error:
Code:
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
Is it a bug or am I doing something wrong ?