Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.RealToDisplayRow Method

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

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

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

Remarks

This is the index used by Cells[], hit-testing, selection and cell events. Use RealToVisualRow for the on-screen position.

Parameters

Name Description
ARow Physical row index.

Returns

Display row index, reflecting sorting and row reordering. Hidden and filtered rows still occupy a display position.