Is there a way to have a grid with frozen columns resize itself to fit the screen when the browser window is re sized?
Thanks,
Mat
In dhtmlxgrid 1.6 behavior can be enabled by
grid.enableAutoWidth(true)
grid._setAutoResize();
This almost works.Please visit this webpage: http://#####.###########.net/test/test.php. If you have your browser window size larger then the grid then no scroll bars are shown. This is expected. If you resize your browser window to a size smaller then the grid the scroll bars will not show up. If you resize it again then the scroll bars will show. Is there a work around for this.
You can add next code to the grid initialization
dhtmlxEvent(window,“resize”,function(){
mygrid.setSizes();
})
It must resolve issue.
That works in Firefox but no in IE.
Mat
Next code will work in both IE and FF
dhtmlxEvent(window,“resize”,function(){
mygrid.setSizes();
mygrid._fake._correctSplit();
})
Great, that works.
Thanks,
Mat