I am creating tabs on a buttons click event.
I wan’t to load content via Ajax but tabs initial content div is not rendered until the tab is clicked.
Here is the code
var tabbar = new dhx.Tabbar("tabbar_container",{
closeButtons: true
});
layout.cell("content").attach(tabbar);
var tabOptions = {
id: "1",
tab: "myTitle",
css:"panel flex",
html: "<div id='contentDiv' >Loading Ajax Content</div>"
}
tabbar.addCell(tabOptions);