Skip to main content
Table of Contents

TTMSFNCDataGrid.CanMoveRow Method

Checks whether a row can structurally be moved to another index.

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

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function CanMoveRow(AFromRow, AToRow: Integer): Boolean;
bool __fastcall CanMoveRow(int AFromRow, int AToRow);

Parameters

Name Description
AFromRow Source row index.
AToRow Destination row index.

Returns

True when both indexes are valid, different, normal (non-fixed) rows and neither row is spanned by a merged cell.