PDA

View Full Version : Validating a record Grid/Store



paulharv
2 May 2012, 2:43 AM
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

scottmartin
3 May 2012, 3:16 PM
Can you turn off autoSave and then call record.save() after all if valid?

Regards,
Scott.