Required library edition:
Required library file: dhtmlxlayout.js
adjusts layout's outer size in case of object-based init, for fullscreened init, window-based init and layout-cell based init this method called automatically
for example, body contain some object
<body> <div id="myLayout" style="width: 600px; height: 500px;"> </div> </body>
init layout
var dhxLayout = new dhtmlXLayoutObject("myLayout", "3L");
when user changes dimension of layout's parent, methos setSizes() should be called to redraw layout with new width/height
// changing parent's dimension var parentObj = document.getElementById("myLayout"); parentObj.style.width = "800px"; parentObj.style.height = "700px"; // adjust layout dhxLayout.setSizes();