Table of Contents

TTMSFNCCustomDataGrid.SwapColumns Method

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

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

procedure SwapColumns(AFromColumn, AToColumn: Integer);

Parameters

Name Description
AFromColumn Zero-based index of the first column.
AToColumn Zero-based index of the second column.