Official Definition:
|
GetPaged(int start, int pageLength, out int count) |
|
Gets a page of rows from the DataSource.
|
|
Parameters: | |
| start | Row number at which to start reading. |
| pageLength | Number of rows to return. |
| count | Number of rows in the DataSource. |
Returns a TList of Entity objects.
Issue:
start parameter indicates "Row number at which to start reading". In
fact, the start parameter indicates what page to retrieve.
Supplying a row number to this parameter will return an incorrect page.
Workaround:
Before passing a value to this parameter, it is advisable to divide the
desired row number by the desired page size. This will return the correct result
set containing the value required.