TTMSFNCCustomDataGrid.ColumnIndexByHeader Method
Returns the zero-based column index by searching for a matching header caption; returns -1 if not found.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Syntax
function ColumnIndexByHeader(AHeader: string): Integer;
Parameters
| Name | Description |
|---|---|
AHeader |
Header caption text to search for. |
Returns
Zero-based index, or -1 if not found.