Search code examples
layoutdhtmlx

resizing of dhtmlxLayout


Using 2U pattern of dhtmlxLayout, when I resize the window, layout is not auto fit as for the window size. How to make responsive layout, is there any API available to auto adjust the layout on resize of window(without browser refresh) ?

<div id="container" style="width:100%;height:100%;"></div>
…
layout = new dhtmlXLayoutObject("container","2U");

Solution

  • You need to use it in a fullscreen init