Skip to main content

attachHTML()

adds an HTML content into a dhtmlxLayout cell

attachHTML(html: string): void;

Parameters:

html: string - an HTML content to be added into a cell

Example

var layout = new dhx.Layout({width:"400px", height:"600px"});var html = "<p>Hello world</p>";layout.getCell("content").attachHTML(html);