I have a grid that is loaded with resultsets from queries run against a specified database. The performance is pretty reasonable but I have a question:
I notice that virtual mode is on when scrolling into the grid and then back up to the top again (top-to-bottom-to-top). I can see virtual mode is working by it's slightly delayed reprint - which is fine with me as we only load up to 500 rows at a time.
However, when I scroll from side to side in a resultset that has more than 20 or 30 columns, I don't see the virtual painting that I see when scrolling up and down.
Is there something I need to do to get the side-to-side virtual scrolling working or is it only up and down?
By the way, I am using the grid in with a GWT app so the code below has some funny stuff in it.
I am using 2.5.1. Here is a code sample:
var widget = this;
$wnd.mygrid = new $wnd.AW.UI.Grid;
// set number of rows/columns
// enable row selectors
// set row selection
In 2.5.1 the virtualMode property applies both to the vertical and horizontal direction. Probably you just don't see grid repaint if you move right/left by one column (because it is already created but not visible). Try home/end to jump to the first/last cell in a row and you should see column repaint.