Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
igGrid performance issue in infragistics.ui.grid.framework.js (_resizeContainer function)
posted

Hi,

we have a performance issue when user stays on igGrid for longer than 10 minutes on IE families. the issue happening at infragistics.ui.grid.framework.js on _resizeContainer function. _resizeContainer get called every 300ms (I believe that's default value) and calls JQuery width() and height(). As result we see a long execution time on IE Profiler (developer tool) for JQuery internal swap function. this problem freezes IE and causes some unexpected behavior later. please see attached Profiler screen shot

I wonder if anyone knows what is the exact purpose of _resizeContainer and why it gets called every 300ms. Is there anyway we use event listener or event trigger instead of executing it so often?

as temporary workaround, we modified _resizeContainer not to use JQuery and calculate width and height from css and clientHeight / clientWidth.

Any suggestion or similar experience with this issue?