Table of Contents

TTMSFNCDataGrid.SwapRows Method

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

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: 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.