Results 1 to 2 of 2

Thread: Missing rejectChanges on TreeStore

    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.
  1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    7
    Vote Rating
    0
      0  

    Default 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

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    249
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •