describes the configuration of cols/rows spans

array spans;


var grid = new dhx.Grid("grid_container", {
    columns: [// columns config],
    spans: [
        {row:"0", column:"a", rowspan:5 },
        {row:"0", column:"b", rowspan:9, text:"<h2>Some content here</h2>"},
        {row:"0", column:"c", colspan:2, text:"Some content"},
        {row:"10", column:"a", colspan:4, text:"Some header", css:"myCustomColspan"}
    data: dataset

Related samples


Each object in the spans array contains the following properties:

See also
Change log

The tooltip property is added in v6.5.

Back to top