Categories | Question details Back To List | ||
How to receive data in grid from Server? Hi everybody, How we can receive edited data in grid from Server side (JSP Script exp.) Thanks Answer posted on Jul 04, 2007 12:35 dhtmlxGrid has 4 ways of saving data: 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 c) form integration - grid can integrates in surrounding <form> tag and include all ( changed ) values in form scope on submit. This functionality available starting from dhtmlxGrid 1.3 samples/pro_form.html d) handle onCellChanged or onCellEdit events and make custom sync on cell value changing - you can samples for different DB tecnologies available at http://scbr.com a-c available only in PRO version, Answer posted by Alexandra (Support) on Dec 09, 2014 16:47 I hope this information will be enough for you. But you also can have a look at div rtl and dataview item. |