Skip to main content

height

sets the height of the control group

height?: string | number | "content";

Example

const form = new dhx.Form("form_container", {
css: "dhx_widget--bordered",
height: "300px", // sets the common height for rows
padding: "20px",
rows: [
{
type: "text",
name: "text",
value: "Do you agree with our terms and conditions?"
},
{
padding: "10px",
height: "200px", // sets the common height for cols
cols: [{
type: "checkbox",
width: "80px",
label: "I agree",
name: "agree",
id: "agree",
checked: true
},
{
type: "checkbox",
label: "I disagree",
name: "align",
}]
}
]
});

Change log:

added in v6.4