Skip to main content
Table of Contents

TTMSFNCDataGrid.GoToCell Method

Brings a cell into view and optionally selects it.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure GoToCell(ACell: TTMSFNCDataGridCellCoord; ASelect: Boolean = True);
void __fastcall GoToCell(const TTMSFNCDataGridCellCoord &ACell, bool ASelect = true);

Parameters

Name Description
ACell Target cell coordinate.
ASelect When True (default), selects and focuses the cell with SelectCell, which also scrolls to it; when False, only scrolls and leaves the selection unchanged.