Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by SSK on Nov 13, 2008 07:27
open dhtmlx forum
For Grid - JSON Format

How can i bind following JSON format data to DHTMLxGrid :
[{"Id":1,"Name":"willams","Price":1200}]
After binding this i am not getting any data in the Grid

Currently i can bind JSON data that as per ur example as follows
{
rows:[
{ id:1,
data:[
"1",
"Williams",
"1200"
] }
]}

Answer posted by Support on Nov 13, 2008 07:44
The JSON format is not configurable,  you can use only predefined format, without ability to bing specific json attributes to cell values ( can be done only by code modification )