Example:
webix.ui({
view: "datatable",
columns: [
{id: "c1", header: ["label1"], rowspan: 3},
{id: "c2", header: [{text: "label2", rowspan: 2}, {text: "label3"}]}
],
});
We see table with 2 columns: “label1” and “label2”. And… 1 row. That’s all. There is no “label3”.
And if we do something like this
webix.ui({
view: "datatable",
columns: [
{id: "c1", header: ["label1"], rowspan: 3},
{id: "c2", header: [{text: "label2", rowspan: 2}, {text: "label3"}]},
{header: ['a', 'b', 'c']}
],
});
we’ll see this error “Uncaught TypeError: Cannot set property ‘rowspan’ of null” only.