Super-virtual Mode

Aug 3, 2015 at 5:41 PM
How would I implement the virtual mode if I don't know the Total number of records, the ODBC cursor I use to fetch data, provides me only 5 methods

First
Last
Prev
Next
bool ReadCurrent(int columnIndex)

and I say, don't try to find any solution to get total number of records, is not available.

Thank you.
Coordinator
Aug 10, 2015 at 6:14 PM
This functionality must be implemented in model in FastWpfGrid.

One possible way to achieve this is following:
The model should return number of rows, which is actually loaded, when user scrolls to last N rows (GetCell() or GetRowHeader() method for last N rows is called), model should load next M rows. If there are no next rows available, models marks it so that no furher read is done.

Regards
Jan