title
Optional. Specifies the title of the control group
title?: string;
Example
const form = new dhx.Form("form_container", {
css: "dhx_widget--bordered",
padding: "20px",
title: "Form", // sets the title for rows
rows: [
{
padding: "10px",
title: "Checkbox controls of Form", // sets the title for cols
css: "dhx_widget--bordered",
cols: [{
type: "checkbox",
width: "80px",
label: "I agree",
name: "agree",
checked: true
},
{
type: "checkbox",
label: "I disagree",
name: "align",
}]
}
]
});
Change log:
added in v6.4