[CLOSED] Accept Changes Treepanel store

  1. #1

    [CLOSED] Accept Changes Treepanel store

    Hi,

    I am updating a node in my tree panel using the node "set" property. the store is marked as dirty the red triangles show in the tree view. How do I accept changes on the treestore.

    Code to edit node.
    node.set('qtip', "");


    The tree store does not have an accept changes method.
    Last edited by Daniil; Feb 05, 2013 at 4:22 AM. Reason: [CLOSED]
  2. #2
    Hello!

    You have to commit changed record http://docs.sencha.com/ext-js/4-1/#!...-method-commit :
    node.commit();
    Or if you don't want TreeView to mark modified records you can use markDirty field http://docs.sencha.com/ext-js/4-1/#!...-cfg-markDirty
    Last edited by Daniil; Jan 31, 2013 at 4:01 AM.

Similar Threads

  1. Accept Icon Missing
    By Tbaseflug in forum 2.x Help
    Replies: 1
    Last Post: Nov 24, 2012, 5:15 AM
  2. Replies: 3
    Last Post: Apr 11, 2012, 7:43 AM
  3. Replies: 2
    Last Post: Jan 10, 2011, 8:16 PM
  4. [CLOSED] icon-accept and ValidationStatus
    By idrissb in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 26, 2009, 2:15 PM
  5. Replies: 1
    Last Post: Oct 10, 2008, 8:38 PM

Posting Permissions