I have a div holding a grid. The div has width and height set to 100%; when the browser is resized the grid does not resize with the rest of the browser. When I examined the DOM I found that the div width and height had been reset to the browsers previous width and height, apparently by dhtmlx. The code follows:
but the grid still does not resize. What is the correct way to use the setSizes() function, is it inside of a grid.attachEvent(“onResize”) or a dhtmlxEvent() function, and should it be before or after the init?