Layout with Dataview Resize on Browser Resize

I have a dhtmlx Layout (2U) that has a dataview in the B cell. I would like the layout and the cell contents to resize to fill the entire browser window when the size of the browser window is changed.

Is there an easy way of doing this?


After resize you may call setSizes() method for layout:


This method will adjust layout sizes to its outer container.

You may also try fullscreen initialization. In this case onresize listeners will be set automatically: dhtmlxLayout/samples/01_init/inc/fullscreen_inner.html