rows

arranges controls inside the control group vertically

array rows;

Example

var form = new dhx.Form("form_container", {
    css: "dhx_widget--bordered",
    rows:[         {
            type: "radioGroup",
            name: "dir",
            options: {
                padding: "10px",
                align: "center",
                cols:[
                    {
                        type: "radioButton",
                        label: "as rows",
                        labelInline: true,
                        value: "rows",
                        checked: true,
                        gravity: false,
                    },
                    {
                        type: "radioButton",
                        label: "as cols",
                        labelInline: true,
                        value: "cols",
                        gravity: false,
                     }
                ]
            }
        }
    ]
});

Related samples

See also
Change log

added in v6.4

Back to top