Table of Contents

TTMSFNCDataGrid.VisualToRealRow Method

Converts a 0-based row index in the currently rendered output (sort + filter applied) back to the physical storage row index. Fixed top/bottom rows map through unchanged.

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

Syntax

function VisualToRealRow(AVisualRow: Integer): Integer;

Parameters

Name Description
AVisualRow Row index in the rendered output.

Returns

Physical storage row index, or -1 when out of range.