Table of Contents

TTMSFNCDataGrid.ColumnByName Method

Finds a column definition by its design-time Name property; returns nil if not found.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

function ColumnByName(AName: string): TTMSFNCDataGridColumn;

Parameters

Name Description
AName The Name property value to look up.

Returns

The matching TTMSFNCDataGridColumn, or nil.