TTMSFNCCustomDataGrid.ColumnIndexByName Method
Returns the index of the first column whose
Nameequals the given value.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
function ColumnIndexByName(AName: string): Integer;
int __fastcall ColumnIndexByName(System::UnicodeString AName);
Parameters
| Name | Description |
|---|---|
AName |
Column name to look up (exact, case-sensitive). |
Returns
Zero-based index in Columns, or -1 when not found.