window.onresize problem work around


I found a way around the window.onresize problem that I was having. Instead of attaching to the window, I found this nice trick to monitor the viewport: … revisited/

It works quite well, you might want to think about using it in the next version of dhtmlxGrid


Hi, It seems that the dhtmlxGrid’s attempt to attach the onresize event to an IE window doesn’t work properly when the dhtmlxGrid is embedded in an iframe. I decided to just use the above window resize detection trick and then call grid.setSizes() on my own. This is working now.