columns

configures columns of the table

array columns;

Example

webix.ui({
    view:"datatable",
    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}
    ]
});

Related samples

Details

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

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui library and page of datatable html product.