dhtmlLayout setWidth() function in API

will setWidth() call in dhtmlLayout work for object-based initialization?



var parentIdDiv = document.getElementById(“parentId”);



var dhxLayout = new dhtmlXLayoutObject(document.body, “2E”);

dhxLayout.cells(“a”).attachObject(“searchFrameDiv”);

dhxLayout.cells(“b”).attachObject(“resultFrameDiv”);

dhxLayout.cells(“b”).hideHeader();



dhxLayout.cells(“a”).setHeight(400);

dhxLayout.cells(“a”).setWidth(900);



The height of a gets set correctly but the width does not.



Do you have an example.




The cells in the 2E layout can resize only vertically.


Please, take a look at the sample dhtmlx.com/docs/products/dht … izing.html - you can change the width only for cells: b,c,d.