addRow without change of scroll position
I want to populate the data source of my grid asynchronously from the server while displaying the first rows to the user in virtual mode. When new rows arrive from the server only the row count has to be updated, scroll position and all currently displayed rows remain unchanged. So only the scrollbar display has to be changed.
How could this be accomplished using the standard virtual mode example?
1. tried to call setRowCount() and refresh()
-> does a full refresh.
2. tried to call addRow()
-> no full refresh, but scrolls to the newly added row.
What would be the best way to do this?
Thanks in advance!