Saving data from a store to server
I need some help saving data contained in a store back to the server. This is the scenario: I have a store that gets its data from a server using HttpProxy and JsonReader. Then I modify the data using a grid. Now when the users clicks on a "submit" button, I want to upload the entire store data back to the server (a common scenario, I think).
I've seen searched the forum but now I am even more confused than before, so I beg for your help or at least a suggestion for a simple, clean and easy way to do this.
Thanks a lot!
You will need to use http://extjs.com/deploy/ext-1.1.1/do...odifiedRecords
What you do with these records is a matter for you.
We can help you with usage of Ext.Ajax, but we can't design your application. You must decide how you are going to encode those modified records and send them to the server.
An idea someone else came up with: http://extjs.com/forum/showthread.php?t=11757
Ok, so encoding by hand and Ext.Ajax is the way to go.. I hoped for a simpler "stock" solution for this situation, something similar to the various "load" methods . Thanks Animal!