Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by john on Mar 08, 2009 17:35
open dhtmlx forum
dhtmlxGrid data load issue using JSON & JSArray

hi,

We are using DhtmlxGrid 2.0, i am new to JSON. we have some diff. to load XML data as we have large data to load, so we are in a process to migrate to JSON, Can you correct the following data

in the first col

its checkbox value, rest are normal data elements.

{rows:[{ id:1001, data:['0','12314123341','Telecome Manager','null','23482392832','TeamManager','ATT']}]}

what are the necessary .JS files required for JSON, i try to code JSON format as the sample code which DHTMLX provided for the GRID with JSON.

I try the same for JSarray too, but same issue data format. For the above data can you prepare me a JSArray format too,

I really appreciate for your help


regards
John.
Answer posted by Support on Mar 09, 2009 04:18
>>as we have large data to load,
You can try to use dyn. loading methods, which allows to load data by chunks on demand
                       http://dhtmlx.com/docs/products/dhtmlxGrid/samples/loading_big_datasets/50000.html?un=1236598058000
                       http://dhtmlx.com/docs/products/dhtmlxGrid/doc/step-by-step/ch_biggrid.html#grid_sbs_biggrid

>>what are the necessary .JS files required for JSON
You need not extra js files to achieve base json compatibility ( dhtmlxgrid.js contain all necessary logic to process json data ) 
If you need to have support for additional row|cell attributes or treegrid - you need to include dhtmlxgrid_json.js 

Please check attached sample.grid
Attachments (1)