1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    101
    Vote Rating
    0
    paulharv is on a distinguished road

      0  

    Default Validating a record Grid/Store

    Validating a record Grid/Store


    Hi,

    I have an EditorGrid and JsonStore.
    The store is set to autosave, but when adding a new row to the grid I don't want it to save until every validation rule passes.

    So, each time I set values in the row, is there a way to ask "do all values in this record pass validation?"

    Thanks

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,197
    Vote Rating
    482
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Can you turn off autoSave and then call record.save() after all if valid?

    Regards,
    Scott.

Thread Participants: 1

Tags for this Thread