I know this has been asked before and I have found the following threads
http://forums.infragistics.com/forums/p/12390/46232.aspx#46232
http://forums.infragistics.com/forums/t/11818.aspx
but I still can't get a function to be called from the DivElement.onscroll event. The code is the same as in the above links but here it is again.
function window.onload()
{
odivElem.onscroll = test;
alert("Test fn")
}
I am using 8.2 with fixed headers and stationary margins. The first 5 columns are fixed so only the last 10 columns scroll. I turned that off but it didn't seem to help.
Thanks,
Eric
Sorry to bump this, but I'm still looking for some help with this issue.
Hello Eric,
It's a complex scenario and I am not sure we can help all the way there, but here is a suggestion - I believe that with fixed headers the grid has different rendering and the grid.DivElement (root element of the grid) is no longer the one the grid scroll (but rather an internal element).
All of this is internal functionality of the grid and is not supported in public API. You can still explore what you can access though, by using FireBug for FireFox (and the inspect element feature specifically) to locate the element which is being scrolled. This way you can obtain it by ID and use it respective properties and map them to the other grid.
Just a suggestion - hopefully it will be useful for you and get you started.