PDA

View Full Version : How to submit store changes?



ipavlic
2 Feb 2012, 4:58 AM
Having a store with proxy defined (api has both read and update methods defined), how do I actually save the changed store? After RowEditing, store is changed, but the changes are not sent to the server automatically.

friend
2 Feb 2012, 7:19 AM
Ext.data.Store.sync() (http://docs.sencha.com/ext-js/4-0/#%21/api/Ext.data.Store-method-sync) or use autoSync.