Collapse LayoutCell with attached Layout (dhx_blue vs. dhx_s

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("<%=i18n.txt(“GUS-OS ERP - RIA-Anwenderoberfl�che”)%>");



dhxLayout.cells(“b”).setWidth(200);

// -----------------------------------------------------

dhxLayout.cells(“b”).setText(“Navigation”); -> 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(height60/100).toFixed(0));

dhxLayout1.cells(“b”).setHeight(Number(height
40/100).toFixed(0));


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”);
dhxLayout.cells(“a”).showHeader();