gridColumns

sets the number of columns for the grid

number gridColumns;

Example

webix.ui({
    view:"gridlayout",
    gridColumns:4, 
    gridRows:3,
    cells:[
        { template:"Single", x:0, y:0, dx:1, dy:1 },
        { template:"Wide 1", x:1, y:0, dx:2, dy:1 }
        // more cells
    ]
});


Default value:

2

Related samples

See also
Back to top