If we pass true to the removeAll() , ExtJS6 will try to erase the leafes of a tree,
and then try to to iterate throuch these leaves in onNodeRemove() ( this obviously do not work)
The true parameter does not seem to be needed anyway anymore.
After a call to removeAll, the childNodes[] property of the rootNode is empty
pdata.updateCount = 0;
var rootnode = me.store.getRootNode();
rootnode.collapse();
- rootnode.removeAll(true);
+ rootnode.removeAll();
pdata.dataIndex = {};
me.getSelectionModel().deselectAll();
},