Hi,
How can I do for load grid with merge cell from js Array or JSON object ?
Dou you have any example ?
Something like this :
.
Thanks
Hi,
How can I do for load grid with merge cell from js Array or JSON object ?
Dou you have any example ?
Something like this :
.
Thanks
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 docs.dhtmlx.com/doku.php?id=dhtm … at_details
Thank you.
Hi,
I try the next :
ar = {rows:[
{ id:1002,
data:[
{“value”:“srv1”,“colspan”:“5”},“”,“”,“”,“”
]
}
]}
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:
grid.enableColSpan(true);
Also check if dhtmlxgrid_json.js is attached to your page.
Note, all this features are available in PRO version only