Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vartika Vaish on Jul 20, 2008 21:05
open dhtmlx forum
Save from grid to database

Hi,

We are trying to use the functionality of dhtmlxGrid before finalising to buy it's license.

We are unable to save data into database from the grid. For example if we populate data to grid using Myaccess 2007 and then make changes to it then we are unable to save it back into the database. We have tried various things after reading all the data available on this site and others.

We are using jsp for the same.

Also while populating the data using smart rendering we get a information window popup with the data like xml:true followed by data to populate.
Kindly reply to this soon as we need to finalise our grid selection as soon as possible.

Thanks
Answer posted by Support on Jul 21, 2008 02:42
>>we are unable to save it back into the database
dhtmlxGrid  has 4  ways of saving data:

a) By using dataProcessor library
    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Dataprocesor_usage.html#grid_art_dataprocessor
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/dataprocessor/savedata_grid.html?un=1216634323000
    ( the jsp based sample can be provided by additional request - please contact us at support@dhtmlx.com if you need such sample )

b) By serialization. The dhtmlxGrid can be serialized back to XML and
sent to server

c) form integration - grid can integrates in surrounding <form>
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/interaction_other_components/pro_form.html?un=1216634376000
    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Form_integration.html#grid_art_htmlform

d)  by using onCellChanged or onCellEdit events to track cell edit operations

>>Also while populating the data using smart rendering we get a information window popup with the data like xml:true followed by data to populate.
Default functionality doesn't have any messages of such kind. It seems that you are using debug version of dhtlmxcommon. Just revert to standard file to remove info message.