width

sets the width of the control group

string|number width;

Example

var form = new dhx.Form("form_container", {
    css: "dhx_widget--bordered",
    width: "500px",  // the width for rows    rows: [
        {
            width: "500px",  // the width for cols            css: "dhx_layout-cell--bordered",
            cols: [{
                type: "checkbox",
                label: "start",
                name: "align",
                gravity: false,
                labelInline: true,
                value: "start",
                checked: true
            },
            {
                type: "checkbox",
                label: "center",
                gravity: false,
                name: "align",
                labelInline: true,
                value: "center"
            }]
        }
    ]
});

Related samples

See also
Change log

added in v6.4

Back to top