You can use var sub_layout = dhxLayout.cells(“c”).attachLayout(“2E”); sub_layout.cells(“a”).attachGrid(); sub_layout.cells(“b”).attachGrid();
Technically, the first solution with html code for both grids and attachObject is also correct, and must work. But sizing of grids in such case will be a pain.