hey.
i changed my css and skin from skyblue to terrace and disable all headers in my layout configuration. than i attached a sidebar to one cell and the header of this cell is suddenly visible.
comparing the website css-classes from skyblue and terrace the class “dhx_cell_hdr_hidden” is missing in the terrace skined header div.
here is my example code:
[code]
html, body {width: 100%;height: 100%;margin: 0px;overflow: hidden;} </style>
<script>
var Layout, Sidebar;
function doOnLoad() {
Layout = new dhtmlXLayoutObject({
parent: document.body,
pattern: "2U",
skin: "dhx_terrace",
cells: [
{
id: "a",
header: false,
},
{
id: "b",
header: false,
}
],
});
Sidebar = Layout.cells("b").attachSidebar({
});
}
</script>
</head>
<body onload="doOnLoad()">
</body>
[/code]
the only solution for now is to hide the header with
[code]
Layout.cells("b").hideHeader();
[/code]
but this causes another issue. a different class is added to the header div called
"dhx_cell_hdr_hidden_no_borders" instead of the expected "dhx_cell_hdr_hidden" class.
is this a normal behavier or is it a bug?
i am using the current std lib build .
thanks in advance for your help.