View Full Version : [CLOSED] Problem with reload of root

Dec 29, 2014, 9:58 AM

I'm use TreePanel, TreeStore, AjaxProxy - Ext.NET.2.5.2.
At start reload of child nodes work correctly - store.getNodeById(222).reload()
When call store.getRootNode().reload() child nodes broken and store.getNodeById(222).reload() not work
And I'm found problem in stores of child node. store.getNodeById(222).stores have 2 stores. When i call reload of root it order changed. And now i fix this on load of store handler:

for (var i = 0; i < records.length; i++) {
var tempStore = records[i].stores[0];
if (tempStore.treeStore != null) {
records[i].stores[0] = records[i].stores[1];
records[i].stores[1] = tempStore;
records[i].store = records[i].stores[0];
after this reload work correctly

Jan 21, 2015, 2:31 PM
Hi @CSerX,

Interesting. Thank you for the report and a workaround.

Could you, please, provide a test case to reproduce the issue?