Skip to main content

cols

an array of columns objects

cols?: ICellConfig[] | ILayoutConfig[];

Example

var layout = new dhx.Layout("layout_container", {
header: "Main Block Header",
cols: [
{
header: "Sub Block Header row"
},
{
header: "Sub Block Header row",
cols: [
{
header:"Left cols"
},
{
header:"Center cols",
cols: [
{ header: "Sub Block Header cols 1" },
{ header: "Sub Block Header cols 2" },
{ header: "Sub Block Header cols 3" }
]
},

]
}
]
});