Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.VisualToRealColumn Method

Converts a position among the rendered columns (display order applied, hidden columns skipped) back to the physical (storage) column index.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function VisualToRealColumn(AVisualColumn: Integer): Integer;
int __fastcall VisualToRealColumn(int AVisualColumn);

Parameters

Name Description
AVisualColumn On-screen column position, counting the fixed left columns first.

Returns

The physical column index, or -1 when the position is negative or beyond the rendered columns.