json array in grid

hello I am looking for 3 days for the answer to this question

who can tell me how to get a json array in a gridd?

Thank you

unfortunately such feature is not available.
dhtmlxgrid supports serialization to xml,csv only.
We may only suggest you to iterate through your cells and create the json array manually.

grid.forEachRow(function(id){ grid.forEachCell(id,function(c){ alert(c.getValue()); }); })