hi there! I’ve created a nested layout structure that works fine on a normal HTML element, but when I put the same working struture inside a window, it hides some of my headers…
var tarefaLayout, tarefaNALayout, trabalhoLayout;
//var userLayout = win.attachLayout(“3T”);
// the [win] above is the result object of the createWindow method
var userLayout = new dhtmlXLayoutObject(document.body, “3T”);
userLayout.cells(“a”).setText(“Resumo”);
userLayout.cells(“b”).setText(“Lista Tarefas”);
userLayout.cells(“c”).setText(“Tarefa”);
tarefaLayout = userLayout.cells(“c”).attachLayout({
pattern: “3E”,
cells: [
{id: “a”, text: “Info”},
{id: “b”, text: “Notas & Anexos”},
{id: “c”, text: “Trabahos”}
]
});
userLayout.cells(“c”).showHeader();
tarefaLayout.cells(“a”).hideHeader();
tarefaNALayout = tarefaLayout.cells(“b”).attachLayout({
pattern: “2U”,
cells: [
{id: “a”, text: “Notas”},
{id: “b”, text: “Anexos”}
]
});
userLayout.cells(“c”).showHeader();
tarefaLayout.cells(“b”).showHeader();
trabalhoLayout = tarefaLayout.cells(“c”).attachLayout({
pattern: “3W”,
cells: [
{id: “a”, text: “Lista”},
{id: “b”, text: “Notas”},
{id: “c”, text: “Anexos”}
]
});
tarefaLayout.cells(“c”).showHeader();
var tarefaListaTab = userLayout.cells(“b”).attachTabbar({
tabs: [
{ id: “tree”, text: “Tree”},
{ id: “grid”, text: “Grid”, active: true }
]
});
tarefaListaTab.setArrowsMode(“auto”);
userLayout.cells(“b”).showHeader();
tarefaListaTab.tabs(“grid”).showInnerScroll();
tarefaListaTab.tabs(“tree”).showInnerScroll();
any suggestions