Categories | Question details Back To List | ||
save grid data after post i create a grid with editable cells. How can i save this data after the form submit. Thanks Answer posted by Stanislav on Sep 05, 2007 18:41 If you included the dhtmlxGrid_form.js on your page, and grid created inside HTML form, then form submit data will contain all updated cells. also you can save grid by a) By using dataProcessor library, this way for each action in tree ( adding/deleting/editing) related event handler generate AJAX call to server side. There are no ready to use sample for Java but guide describes which vars sent to server for each type of call. You only need to implement the correct DB updates for specified AJAX calls. samples/savedata_grid.html b) By serialization. The dhtmlxGrid can be serialized back to XML and sent to server ( the sending routine is not implemented in grid and must be implemented manually ), where XML can be parsed, data extracted and DB updated. samples/pro_serialize.html |