Skip to main content
Table of Contents

TTMSFNCDataGrid.SwapCells Method

Exchanges the content of two cells.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
procedure SwapCells(AFromCell, AToCell: TTMSFNCDataGridCellCoord);
void __fastcall SwapCells(const TTMSFNCDataGridCellCoord &AFromCell, const TTMSFNCDataGridCellCoord &AToCell);

Parameters

Name Description
AFromCell Coordinate of the first cell.
AToCell Coordinate of the second cell.