Skip to main content

rows

arranges controls inside the control group vertically

rows?: IBlock;

Example

var form = new dhx.Form("form", {
css: "dhx_widget--bordered dhx_layout-cell--bordered",
height: "300px",
// rows
rows: [
{
type: "input",
label: "Name",
icon: "dxi dxi-magnify",
placeholder: "John Doe",
labelPosition: "right",
},
{
type: "input",
label: "Email",
placeholder: "jd@mail.name",
labelPosition: "right",
},
{
type: "button",
submit: true,
text: "Send",
size: "medium",
view: "flat",
color: "primary",
}
]
});

Change log:

added in v6.4