Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.VisualToRealRow Method

Converts a position among the rendered rows (display order applied, hidden and filtered rows skipped) back to the physical (storage) row index.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function VisualToRealRow(AVisualRow: Integer): Integer;
int __fastcall VisualToRealRow(int AVisualRow);

Parameters

Name Description
AVisualRow On-screen row position, counting the fixed top rows first.

Returns

The physical row index, or -1 when the position is negative or beyond the rendered rows.