height
Optional. Sets the height of the control group
height?: string | number | "content";
Default value: "content"
Example
const form = new dhx.Form("form_container", {
css: "dhx_widget--bordered",
height: "300px", // sets a 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 a 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