Skip to main content
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

FMX.TMSFNCDataGrid.hppPascalC++
procedure SwapColumns(AFromColumn, AToColumn: Integer);
void __fastcall SwapColumns(int AFromColumn, int AToColumn);

Parameters

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