Nested Layout Collapse

Hi Folks,

I’m using nested layouts… I have a 4W layout with a 2E in cell A and a 3E in cell B of the 4W. What I can see is that the individual panels of the 2E and 3E can be collapsed with respect to each other vertically… what I would LIKE to be able to do is collapse cell A and B of the 4W as a group horizontally like cells C and D of the 4W…

Is there any way to do this?


You need just hide headers of cells A of nested layouts and apply hideArrow to B, B and C cells

Hi there,

Thanks for the reply… but, I’m not sure I understand what you’re suggesting. Could you explain a little more for me, please?


Here it is:

layout = new dhtmlXLayoutObject(document.body, "4W"); layoutA = layout.cells("a").attachLayout("2E"); layoutA.cells("a").hideHeader(); layoutA.cells("b").hideArrow(); layout.cells("a").showHeader(); layoutB = layout.cells("b").attachLayout("3E"); layoutB.cells("a").hideHeader(); layoutB.cells("b").hideArrow(); layoutB.cells("c").hideArrow(); layout.cells("b").showHeader();

Ah, gotcha. That’s exactly what I needed. Thanks for the assist!


You are welcome!