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

procedure SwapRows(AFromRow, AToRow: Integer);

Parameters

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