Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.ColumnIndexByName Method

Returns the zero-based index of the column whose Name matches AName, or -1.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
function ColumnIndexByName(AName: string): Integer;
int __fastcall ColumnIndexByName(System::UnicodeString AName);

Parameters

Name Description
AName Column name to match.

Returns

The zero-based column index, or -1 when no column has the specified name.