Resize layout that's initialized to document.body vs. grid

I would like a layout initialized to a div to automatically resize as it does when initialized to document.body.



When I initialize to document.body,

     var dhxLayout = new dhtmlXLayoutObject(document.body, “4U”, “dhx_blue”);

the layout resizes automatically.



When I initialize to a div



    

the layout does not resize automatically, even though the div does (by virtue of width and height at 100%).



Is this a bug or expected behavior?



Regards,



Phil

Please, see the answer to your previous post dhtmlx.com/docs/products/kb/inde … mal&q=8529