Skip to main content
Table of Contents

TTMSFNCDataGridData.CanSwapRow Method

Checks whether two rows can be swapped.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

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

Parameters

Name Description
AFromRow Zero-based index of the first row.
AToRow Zero-based index of the second row.

Returns

True when both rows exist, differ, are normal data rows, and contain no merged cells.