padding

defines the distance between a cell and the border of layout

string|number padding;

Example

var layout = new dhx.Layout("layout_container",{
    padding: 10,
    css: "dhx_layout-cell--bordered",
    cols: [
        {
            padding: 10,
            css: "dhx_layout-cell--bordered",
            html: "First Block"
        },
        {
            padding: 10,
            css: "dhx_layout-cell--bordered",
            html: "Second Block"
        }
    ]
});

Related samples

See also
Back to top