TTMSFNCDataGrid.ColumnByHeader Method
Finds the first column whose
Headerequals the given text.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCDataGrid
Inherited from: TTMSFNCCustomDataGrid
Syntax
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.