Mergin cell from JSArray


How can I do for load grid with merge cell from js Array or JSON object ?

Dou you have any example ?

Something like this :



You can use “colspan” cell attribute to merge columns. In JSON format it will looks like that:\

{ rows:[ { id:1002, data:[ {"value":"srv1","colspan":"4"}, "", "", ] } ]}

Please find more details here … at_details

Thank you.


I try the next :

ar = {rows:[
{ id:1002,
But I get :
See image…

I don’t know what is the problem.

Thanks for your help.

Please check if you have enabled colspan in grid:


Also check if dhtmlxgrid_json.js is attached to your page.

Note, all this features are available in PRO version only