Skip to main content
Table of Contents

TTMSFNCDataGridCore.HideColumn Method

Hides a column.

API unit family: TMSFNCDataGridCore Declaring type: TTMSFNCDataGridCore

Syntax

FMX.TMSFNCDataGridCore.hppPascalC++
procedure HideColumn(AColumn: Integer);
void __fastcall HideColumn(int AColumn);

Remarks

Equivalent to setting HiddenColumns to True, which recalculates the layout (unless an update block is active), followed by DoNotifyEditor. The column's custom width is kept and restored by UnhideColumn.

Parameters

Name Description
AColumn Column to hide. Out-of-range indexes are ignored.