Skip to main content
Table of Contents

TTMSFNCDataGridData.CanMoveRow Method

Checks whether a row can be moved to another position.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Syntax

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

Parameters

Name Description
AFromRow Zero-based index of the row to move.
AToRow Zero-based destination index.

Returns

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