Hello,
I use Version 9.1.6, Standard edition.
I have a lyout inside a tab. In this layout I attach HTML to an iframe.
Howver each time a change the tab, the iframe is already refreshed. I need have iframe never refreshed. So how can i prevent the iframe to be loaded once.
Here is the code:
this.layout_ = new dhx.Layout(“console_”, {
type: "line",
height: window.innerHeight - (75 + 50),
rows: [
{
id: "console_",
padding: 2,
resizable: false
}
]
});
let url = "https://" + se_hwTest_ip + ":" + se_hwTest_port + "/console";
let htmlContent = '<section class="dhx_sample-container"><iframe id="consoleFrame_" loading="eager" height="100%" width="100%" src="' + url + '" \
style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;border:0px;margin:1px;"></iframe></section>';
this.layout_.getCell("console_").attachHTML(htmlContent);
in_tabCell.attach(this.layout_);