Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Eugene on Mar 26, 2008 18:12
open dhtmlx forum
POST request to backend

How can I send data from dhtmlxGrid to php backend?
Answer posted by Support on Mar 27, 2008 02:28
There are few possible ways

a) dataProcessor - data sent not as part of form but as separate AJAX requests, server side script ( PHP in you case ) must process incoming response and send back results of operation
    PHP based sample of dataprocessor included in pro package of dhtmlxgrid
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/dataprocessor/savedata_grid.html?un=1206611075000

b) FORM integration ( supported starting from dhtmlxgrid 1.4 ) - in such case data about updated cells and rows send as part of form submit, and need to be processed on server side as normal form.
    http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/interaction_other_components/pro_form.html

c) grid data can be serialized back to XML, and such XML can be sent|processed in any necessary way