Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by pilot on Nov 27, 2009 05:56
open dhtmlx forum
Grid parse JSON

I'm using parse to load a Grid, but my parse parameter is a JSON object, coming from another parsing (like eval),
and it looks like:

{"rows":[{"id":"00004416","data":[{"MY_TIME":"08:05:28:34","PHASE_ID":" ","SIDE":"B","ORDER_NUMBER":"00004416","VOLUME":"1000","PRICE":"11.04","TRADER_ID":"SD004","ORDER_STATUS":"O","M_C_FLAG":"C"}]}]}

What part of this can I pass to myGrid.parse, or I have to make it string again?

Thanks in advance
Answer posted by dhxSupport on Nov 27, 2009 07:04
Please find more information about loading grid from JSON format here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:data_loading#loading_data_from_json 
dhtmlxgrid_json.js file should be attached to your page.