Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Damon Snyder on Sep 19, 2008 12:52
open dhtmlx forum
Is it posible to export the contents of a dhtmlx grid to JSON?

From the documentation, it is clear that you can load or initialize a grid with JSON, but can you also export the contents of a grid to JSON? From the documentation, it looks like the export options limit you to csv or xml. Please confirm if export to JSON is possible.

Background: We would prefer to not have to have 2 separate data formats in our client/server interaction. If we're initializing with JSON, we would like to be able to post back with JSON. When I say post back to the server, I mean we may need to post back the whole data set and not just individual edits or rows.

Thanks,
Damon
Answer posted on Sep 22, 2008 01:40
Current version of dhtmlxgrid doesn't have this possibility. We extend json support from version to version and have in plans to implement json serialization too.