TTMSFNCDataGridRenderer.GetRowForPageIndex Method
Returns the absolute row index of the first data row on the given zero-based page.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Syntax
function GetRowForPageIndex(APageIndex: Integer): Integer;
int __fastcall GetRowForPageIndex(int APageIndex);
Parameters
| Name | Description |
|---|---|
APageIndex |
Zero-based page index to map to a row. Out-of-range values are clamped to the valid page range. |
Returns
The absolute row index at the start of the page (limited to the last row above the fixed bottom rows), or -1 when there are no pages.