Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.SwapRows Method

Exchanges the position of two rows, swapping all their cell data.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure SwapRows(AFromRow, AToRow: Integer);
void __fastcall SwapRows(int AFromRow, int AToRow);

Parameters

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