Skip to main content
Table of Contents

TTMSFNCDataGridDatabaseAdapter.EditCell Method

Prepares the dataset for editing the field shown in a grid cell.

API unit family: TMSFNCDataGridDatabaseAdapter Declaring type: TTMSFNCDataGridDatabaseAdapter Inherited from: TTMSFNCCustomDataGridDatabaseAdapter

Syntax

FMX.TMSFNCDataGridDatabaseAdapter.hppPascalC++
procedure EditCell(ACell: TTMSFNCDataGridCellCoord); override;
virtual void __fastcall EditCell(const TTMSFNCDataGridCellCoord &ACell);

Remarks

Moves the dataset to the cell's record and, when the link is not read-only and the field can be modified (text-compatible type, or an OnSetText handler), puts the dataset into edit mode. Called by the grid when in-place editing starts.

Parameters

Name Description
ACell Grid cell that is about to be edited.