:: Forum >>

Grid scrolling in virtual mode

Whilst evaluating the grid component in virtual mode I have noticied that the component will not paint whilst the scrollbar is being dragged.

Has this been done deliberately for performance reasons?
Is there anyway to overcome the problem so that the grid component does not go blank whilst scrolling?

From a user perspective this behaviour does not look nice.


Griff James
Monday, April 2, 2007
There are two existing options - either paint all rows upfront (virtual mode=false) or paint only visible rows and repaint them after scroll (virtual mode=true).

Ideally I would want adding rows one-by-one during scroll, so the user does not see the white space. Unfortunately this does not work well (very slow).
Alex (ActiveWidgets)
Tuesday, April 3, 2007
alex, have you really any hope for fasten repainting ? or is it impossible in javascript?
Tuesday, April 3, 2007
The problem is not only javascript performance but browser rendering (layout calculations?) as well. Currently in IE7 creating html string in javascript takes less than 40% of the total repaint time, string parsing is 10-15% and 45-50% is the time it takes the browser to calculate and render the new elements.
Alex (ActiveWidgets)
Wednesday, April 4, 2007
what do yo think about datagrids based on flex tool?
is it not the best solution?

But thank you for your beautiful widget, which is very useful to me.
It works very good despite performance pbs, which are essentially due to lack of browser's performance.
Thursday, April 5, 2007

This topic is archived.

Back to support forum

Forum search