Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by srinivas on Oct 06, 2007 13:53
open dhtmlx forum
I am using the dhtmlXGrid and i want to display the rows in grid from the database(SQL)

Hi
I am using the dhtmlXGrid and i working on a project which needs the data to be displayed in the grid

that should come from the database(Oracle) and i should use java(jsp,servlets) how can i insert the data that is

comming from the database and insert into the grid and if i select a row and click on a button one of the cell in

that row should be changed and it should be affected to the database also again i need to populate the updated

data in the grid can u suggest me regarding this ASAP

Thanks in Advance



Answer posted on Oct 09, 2007 14:57
Grid load data from XML , but you can use any kind of server side script as well

grid.loadXML("some.jsp");

and some.jsp file will connect to DB , read necessary data and just output it as XML.


>>that row should be changed and it should be affected to the database
Pro version of dhtmlxGrid supports DataProcessor lib which allow to sync client and server side datasets ( if you need a JSP+MySQL sample - please contact us at dhtmlx@scand.com and provide your registration number )

Answer posted on Oct 11, 2007 16:07