Skip to main content

padding

defines the distance between a cell and the border of layout

padding?: number | string;

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 sample: Layout. Padding