Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.LookupInColumnFromRow Method

Searches the specified column starting from ARow for the first cell whose text starts with AValue.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
function LookupInColumnFromRow(AColumn, ARow: Integer; AValue: string; AAllRows: Boolean = False; AAutoGoto: Boolean = False): TTMSFNCDataGridCellCoord;
TTMSFNCDataGridCellCoord __fastcall LookupInColumnFromRow(int AColumn, int ARow, System::UnicodeString AValue, bool AAllRows = false, bool AAutoGoto = false);

Remarks

The comparison is case-insensitive unless Options.Lookup.CaseSensitive is True.

Parameters

Name Description
AColumn Zero-based column index to search.
ARow Zero-based row index where the search starts. Ignored when AAllRows is True.
AValue Text prefix to search for. HTML tags in cell text are stripped before comparing.
AAllRows When True, searches from the first row below the fixed top rows to the last row, including the fixed bottom rows; when False, searches from ARow to the last row above the fixed bottom rows.
AAutoGoto When True, sets FocusedCell to the match.

Returns

The coordinate of the first match, or (-1, -1) when no match is found.