Hello,
i have performance problem. When grid height, width is set on 100% browser takes to much of CPU, which could be problem on some low power computer. It's happening on all browsers. The worst performance is in my case is on IE (I have IE10, page is running in IE8 compatibility mode), but my colleague had worst experience with Chrome.
The problem disappears when height and width is set on fix size.
Is there any option how to fix this problem and keep width and height on 100% ? Thank you.
Best regards,
Martin Zagora
It works. Thank you very much Martin!
Kings regards,
Hello Martin,
You can change the resizeTimeout variable with the following code which should be executed before you create the grid. Please note that this will affect all of the grids created on the page after this code is executed.
$.ui.igGrid.prototype.resizeTimeout = 5000;
// Initialize grid
$("#grid").igGrid({/*options*/});
Best regards,Martin PavlovInfragistics, Inc.
I set timer on 5000, but it has no effect to the fact how often _resizeCopntainer is calling.
Profiling was running around 10 seconds.
Would it be possible to call this function from my own script instead of calling it automatically?
Of course I did :)
I just copied Angel's code without any checking :)
Hi Martin,
Thank you for the screenshot. I think you forgot the dollar sign in the beginning of row #354.
Kind regards,
Petko Zhekov
Software Engineer