attachHTML()
adds an HTML content into a Layout cell
attachHTML(html: string): void;
Parameters:
html: string
- an HTML content to be added into a cell
Example
const layout = new dhx.Layout("layout_container", {
width:"400px", height:"600px"
});
const html = "<p>Hello world</p>";
layout.getCell("content").attachHTML(html);