Skip to main content
Table of Contents

TTMSFNCDataGridCore.RealToVisualColumn Method

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

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
function RealToVisualColumn(AColumn: Integer): Integer;
int __fastcall RealToVisualColumn(int AColumn);

Remarks

Distinct from RealToDisplayColumn, which only accounts for reordering. Fixed left columns map to their display index unchanged; fixed right columns map to positions directly after the last rendered data column. The position is independent of scrolling.

Parameters

Name Description
AColumn Column index in storage order.

Returns

The on-screen column position, counting the fixed left columns first; -1 when is out of range or the column is hidden.