Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.IsCellReadOnly Method

Returns True if the cell is a fixed cell or is marked read-only through ReadOnlys.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
function IsCellReadOnly(ACell: TTMSFNCDataGridCellCoord): Boolean;
bool __fastcall IsCellReadOnly(const TTMSFNCDataGridCellCoord &ACell);

Remarks

When the column has gcsReadOnly in its Settings, the column's ReadOnly value decides; otherwise the cell-level read-only flag is used.

Parameters

Name Description
ACell Cell coordinate to test.

Returns

True when the cell cannot be edited.