Hi
I already asked and you answered :
"You can use
var sub_layout = dhxLayout.cells(“c”).attachLayout(“2E”);
sub_layout.cells(“a”).attachGrid();
sub_layout.cells(“b”).attachGrid();"
I work with the version 2.1 and it seems that “attachLayout” isn’t a function of the cell object. What can I do ?
Thanks
Hello,
the function has been added to the latest version 2.5.
If you want to use 2.1, you can use the following method to add layout into the cell:
var sub_layout = new dhtmlXLayoutObject(dhxLayout.cells(“a”), “2E”);
Thank you, it works very well !