Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vincent on Apr 20, 2008 23:28
open dhtmlx forum
How to draw Grid from data in database ?

How to draw Grid from data in database ?
I mean i want to draw grid by use data from database not use xml.
I will use what method or what I can do.
Answer posted by Support on Apr 21, 2008 02:01
The grid can load data from XML or CSV stream, that doesn't mean that you need to use static XML|CSV file - you can load data from any server side script.

grid.loadXML("data.php");

where data.php - php script , which will connect to db, fetch data and output it to browser
    http://dhtmlx.com/docs/products/dhtmlxGrid/samples/loading_big_datasets/50000.html?un=1208769462000