IE6, IE7, IE8 performance issue due to setSizes()

Hello,



Please check out this issue - dhtmlx.com/docs/products/kb/ … s=setSizes



I am facing the same problem with my dhtmlx application. The application runs very slowly on IE and becomes slower, longer the user stays on the web page. On firefox, though it becomes slower with time, the impact is less.



Commenting the line ‘this._sizeTime=window.setTimeout(function(){self.setSizes()}, 250);’ of dhtmlxgrid.js causes problems like grid not loading properly on hiding/showing the parent div.



My dhtmlxGrid build is “v.1.6 build 80603”



Has a fix been developed for this issue in the later releases? Is there any way around using the “setTimeout” function?



Thanks in advance.

If you are using complex layouts - you need to update to the dhtmlx 2.5 , base elements of layout there redesigned to eliminate the reasons of slowness.

>> causes problems like grid not loading properly on hiding/showing the parent div.
Just call
grid.setSizes();
after switching grid to the visible state.
Actually , above line can be a reason of the slowness only if you have tens of grids on the page.