Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jun 18, 2009 11:27
open dhtmlx forum
new layout pattern

I want to create a new layout pattern.
The one I want to make is similar to 4I.
However, I want cell a to be placed beneath cell d.

In other words the layout should be like 3U but with 4 cells,
the fourth placed beneath cell c.

I hope that you have a clear picture of the pattern I want to create.

Could you please provide me with the code?

Thank you in advance!
Answer posted by Alex (support) on Jun 19, 2009 01:19

Hello, 

you can try to combine 3U and 2E layouts:

var layout1 = new dhtmlXLayoutObject("parentId", "3U");
layout1.cells("c").hideHeader()
var layout2 = new dhtmlXLayoutObject(layout1.cells("c"), "2E");