TTMSFNCCustomDataGrid.ColumnByName Method
Finds the first column whose
Nameequals the given value.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
function ColumnByName(AName: string): TTMSFNCDataGridColumn;
TTMSFNCDataGridColumn* __fastcall ColumnByName(System::UnicodeString AName);
Parameters
| Name | Description |
|---|---|
AName |
Column name to look up; the comparison is exact and case-sensitive. |
Returns
The matching column, or nil. The column is owned by Columns; do not free it.