Skip to content

columns

configures columns of the grid

let columns: WebixDatatableColumn[]
webix.grid({
columns:[
{ id:"rank", header:{ text:"#", rowspan:2}, width:50, css:"rank"},
{ id:"title", header:["Film title", {text:"Second line", colspan:3}]},
{ id:"year", header:["Year",""], width:80},
{ id:"votes", header:["Votes",""], width:100}
]
});

also check the next samples:

Each object in the array specifies a single column. An object can take the following attributes:

Articles