Results 1 to 3 of 3

Thread: form dirty

  1. #1
    Ext JS Premium Member
    Join Date
    Dec 2011
    Posts
    232
    Vote Rating
    2
      0  

    Default form dirty

    I set form's fields in this way:
    Ext.getCmp(nameCmp1).setValue(value1);
    Ext.getCmp(nameCmp2).setValue(value2);

    If I make Ext.getCmp(formName).getForm().isDirty() result i true.
    Is it possible to force diry to false??

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Vote Rating
    499
      0  

    Default

    Have a look at record.commit()

    Scott.

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2011
    Posts
    232
    Vote Rating
    2
      0  

    Default

    Ok thanks!

Posting Permissions

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