Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.CanDeleteRow Method

Checks whether the specified row can structurally be deleted.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function CanDeleteRow(ARow: Integer): Boolean;
bool __fastcall CanDeleteRow(int ARow);

Remarks

This is a structural check only; options and OnCanDeleteRow are not consulted.

Parameters

Name Description
ARow Zero-based index of the row to test.

Returns

True when the row index is valid, the row is a normal (non-fixed) row and no merged cell spans it.