You found a bug! We've classified it as
EXTJS-9965
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
Sencha User
Missing rejectChanges on TreeStore
Hello,
There is missing function rejectChanges in TreeStore, but can be easly done by:
Code:
this.getStore().tree.flatten().forEach(function(node) { node.reject(); });
or
Ext.override(Ext.data.TreeStore, { rejectChanges: function() { this.getStore().tree.flatten().forEach(function(node) { node.reject(); }); }});
Last edited by cojack; 27 May 2013 at 4:48 AM.
Reason: override method added
-
Thanks for the report! I have opened a bug in our bug tracker.