margin of ui.gridlayout, Properties Webix Docs

StartAPI Referenceui.gridlayoutProperties

defines the space around elements (applies the specified value to all elements)

number margin;

Example

webix.ui({
    view:"gridlayout",
    gridColumns:4, gridRows:3,
    margin:20,
    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:

10

See also

  • Articles

  • Back to top