Skip to main content

align

sets the alignment of content inside a cell

align?: "start" | "center" | "end" | "between" | "around" | "evenly";

Example

var layout = dhx.Layout("layout_container", {   rows: [        {            align: "center",            cols: [                {                    css: "dhx_layout-cell--border_left dhx_layout-cell--border_right",                    gravity: false,                    html: "Horizontal Align"                },                {                    css: "dhx_layout-cell--border_left dhx_layout-cell--border_right",                    gravity: false,                    html: "Horizontal Align"                },                {                    css: "dhx_layout-cell--border_left dhx_layout-cell--border_right",                    gravity: false,                    html: "Horizontal Align"                }            ]        }    ]});

Related sample: Layout. Align