attachHTML()
attaches an HTML content into a Container control
attachHTML(html: string): void;
Parameters:
html: string
- the HTML code
Example
const form = new dhx.Form("form_container", {
rows: [
{
type: "container",
name: "container",
},
]
});
const html = "<p>Hello world</p>";
form.getItem("container").attachHTML(html);
Change log:
added in v7.2