groupinfo.leaf = false;
groupinfo.groupbyid = v;
group = me.addChildSorted(node, groupinfo);
- // fixme: remove when EXTJS has fixed those bugs?!
- group.expand(); group.collapse();
}
if (info.type === groupby) {
return group;
});
store.resumeEvents();
+ store.fireEvent('refresh', store);
// select parent node is selection vanished
if (lastsel && !rootnode.findChild('id', lastsel.data.id, true)) {
// on first tree load set the selection from the stateful provider
if (!pdata.updateCount) {
- rootnode.collapse();
rootnode.expand();
me.applyState(sp.get(stateid));
}
pdata.updateCount++;
- store.fireEvent('refresh', store);
};
var statechange = function(sp, key, value) {