Skip to main content

cols

arranges controls inside the control group horizontally

cols?: IBlock;

Example

var form = new dhx.Form("form", {    css: "dhx_widget--bordered",    width: "250px",    rows: [        {            padding: "10px",            cols: [{ /*!*/                type: "checkbox",                width: "100px",                label: "I agree",                name: "agree",                id: "agree",                checked: true            },            {                type: "checkbox",                label: "I disagree",                name: "align",            }]        }    ]});

Change log:

added in v6.4