Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by haritha on Sep 16, 2008 03:06
open dhtmlx forum
dhtmlxgrid

hi,

I am populating grid data from jsp. If i update or delete some row in the grid i want to update in the database also.
I came to know that can be done through dataProcessor. but i am not able to do that.

can anyone give some example of updating data on the server side(JSP). and also can anyone tell me how to load the grid data using htmltable instead of XML.

thanks in advance
challa
Answer posted by Support on Sep 17, 2008 01:39
Which edition do you have ?

In case of the professional one, you can use DataProcessor (it is a javascript extension). We have a ready DataProcessor sample for JSP. If you need this sample, please, contact us at the support@dhtmlx.com and provide your ref.number.
  
In case of using standard edition, you can use grid event handler in order to get changed data. And then these data can be send to the server by any known approach. The list of the grid events can be found in the documentation dhtmlxGrid/doc/events.html  
Answer posted by dhtmlx support on Sep 17, 2008 01:40
HTML Table initialization sample is avalable here: http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/initialization_loading/grid_int_from_html.html?un=1221640669000
It is also included in both STandard and Pro packages.

DataProcessor samples are also available online (to see it in action) and in Pro Package. Documentation is available in docs & samples explorer: http://www.dhtmlx.com/docs/products/docsExplorer/