Table of Contents

TTMSFNCCustomDataGrid.VisualToRealColumn Method

Converts a 0-based column index in the currently rendered output (reorder + hidden applied) back to the physical storage column index. Fixed left/right columns map through unchanged.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

function VisualToRealColumn(AVisualColumn: Integer): Integer;

Parameters

Name Description
AVisualColumn Column index in the rendered output.

Returns

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