Categories | Question details Back To List | ||
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. Answer posted by Alex (support) on Mar 24, 2009 05:11 The cells in the 2E layout can resize only vertically. Please, take a look at the sample http://www.dhtmlx.com/docs/products/dhtmlxLayout/samples/conf/sizing.html - you can change the width only for cells: b,c,d. |