Sorry again: I've found some conditions where your code fails:
1- When datagrid is not visible (i.e. in a collapsed layout), seems as scrollTo() or selectRow() has no effect, and new rows are not properly loaded.
If I made layout panel where datagrid resides visible, everything works fine
Here comes a firebug trace capture. Assumed pageSize=20:
2- How can I detect that we are already in _last_ row of last page, to avoid invoke of nextRow()?
Thanks in advance
Juan Antonio