Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.ColumnByHeader Method

Finds the first column whose Header equals the given text.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function ColumnByHeader(AHeader: string): TTMSFNCDataGridColumn;
TTMSFNCDataGridColumn* __fastcall ColumnByHeader(System::UnicodeString AHeader);

Parameters

Name Description
AHeader Header caption to search for; the comparison is exact and case-sensitive.

Returns

The matching column, or nil. The column is owned by Columns; do not free it.