Skip to main content
Table of Contents

TTMSFNCDataGrid.DisplayToRealRow Method

Converts a display row index to the physical (storage) row index.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function DisplayToRealRow(ARow: Integer): Integer;
int __fastcall DisplayToRealRow(int ARow);

Remarks

The mapping follows sort order only; filtering and hidden rows do not change it. Use VisualToRealRow for the position the user sees on screen.

Parameters

Name Description
ARow Display row index, reflecting sorting and row reordering.

Returns

Physical row index.