window.onresize problem work around

Hi,

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:

    ecmascript.stchur.com/2006/09/06 … revisited/

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

THanks,
Scott

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.