PDA

View Full Version : How to save grid updates on the server



bh129
2 Mar 2010, 4:21 PM
I am new to ExtJs and my question may seem very obvious to many, I couldn't find any information on how to save updates on an "editable grid" as they occur, for instance by posting the results to a page so I can update a database. There are few examples that try to show how to edit a row in the grid but nothing to show how these updates are actually being saved.

To be more specific I would like to know how we can save a row in this example?

http://www.extjs.com/deploy/dev/examples/grid/edit-grid.html

It really doesn't matter what the server platform would look like, all I need is to be able to specify a URL so the code can call it everytime I update a row.

A sample code would be very helpful here.

Thank you.

fay
3 Mar 2010, 1:52 AM
There's an example of how to do this in the Grid FAQs (http://www.extjs.com/learn/Ext_FAQ_Grid#Saving).