Skip to main content

rows

Optional. Arranges controls inside the control group vertically

rows?: object[];

Example

const form = new dhx.Form("form_container", {
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