Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kenneth Cho on Jan 01, 2009 07:59
open dhtmlx forum
how to read the data from database used in grid

hi sir,

I am a Commercial user of dhtmlxSuite, I can update the date to database from dataprocessor, but I can't read the data from database to grid. Just like the sample of dataprocessor (savedata_grid.html)

could you tell me how to read the data from database, but don't use xml

best Regards
kenneth cho
Answer posted by Support on Jan 09, 2009 10:00
You can't read data directly from database, because component is fully client side. 
The common approach is usage of "proxy" script.
    grid.loadXML("some.php");
Where some.php is php script which will connect to DB, fetch necessary data and output it as XML.