Categories | Question details Back To List | ||
Collapse LayoutCell with attached Layout (dhx_blue vs. dhx_sklyblue) Hi, We attach a Layout to a LAyout Cell in another Layout. With dhx_blue Skin we were able to collapse the Cell with attached Layout. After changing to dhx_skyblue, the header of this cell isn't shown anymore and we aren't able to collapse this cell. Coding: dhxLayout.cells("a").setHeight("55"); dhxLayout.cells("a").fixSize(false, true); dhxLayout.cells("a").setText("<center><%=i18n.txt("GUS-OS ERP - RIA-Anwenderoberfläche")%></center>"); dhxLayout.cells("b").setWidth(200); // ----------------------------------------------------- dhxLayout.cells("b").setText("<center>Navigation</center>"); -> Isn't shown anymor // ----------------------------------------------------- dhxLayout.cells("c").hideHeader(); // dhxLayout1 = Layout für Menü, Favoriten, X // ----------------------------------------------------- var dhxLayout1 = new dhtmlXLayoutObject(dhxLayout.cells("b"),"3E"); -> cannot be collapsed anymore // ----------------------------------------------------- dhxLayout1.cells("a").setText("<%=i18n.txt("Menü")%>"); dhxLayout1.cells("b").setText("<%=i18n.txt("Favoriten")%>"); dhxLayout1.cells("c").collapse(); var height = dhxLayout.cells("b").getHeight(); dhxLayout1.cells("a").setHeight(Number(height*60/100).toFixed(0)); dhxLayout1.cells("b").setHeight(Number(height*40/100).toFixed(0)); Answer posted by Alex (support) on Jan 22, 2010 08:01 Hello, after layout is attached to the cell of the other layout, the header of this cell is hidden. To show the header again you can call showHeader method. For example: dhxLayout = new dhtmlXLayoutObject("parentId", "3L"); var layoutA = dhxLayout.cells("a").attachLayout("2U"); |