Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ben Leah on Nov 05, 2009 08:04
open dhtmlx forum
Grid - Dyanamic Loading , Slow response when clicking the grid when the grid is populated

Could you use this email, thanks!

Hi,

I have a problem with selecting a row in the grid. It becomes slower the more rows that are dynamically loaded into the grid. When more than 500 rows have been loaded it slows down to about 3/4 seconds after the click before the row is selected. I am using IE8 but I have tested on IE 6 and 7 and this problem is the same.

Do you have anything I can do to improve the speed of a row being selected in the grid? This is the only problem we now have with this fantastic grid.

Thanks,
Ben


I have done some profiling and it appears to be the function "moveToVisible" that is really slowing the click down.
Answer posted by dhxSupport on Nov 05, 2009 08:41
Are you using dhtmlxGrid attached to the dhtmlxLayou? If yes - this issue was already fixed at the current version of dhtmlxLayout, please update your files
Answer posted by Ben Leah on Nov 05, 2009 08:42
No, I am only using the grid control without the layout?
Answer posted by dhxSupport on Nov 05, 2009 08:45
What version of dhtmlxGrid do you use? Are you using any other components?
Answer posted by Ben Leah on Nov 05, 2009 08:49
I am using v2.5. I am just using the grid with no other components, dynamically loading rows into the grid. Even after the entire data set has been loaded into the grid the click takes a noticeable time to be selected. I also have frozen columns enabled.
Answer posted by dhxSupport on Nov 05, 2009 09:40
Please provide us complete example where we can reproduce this issue (Please send such example directly to the support@dhtmlx.com)