Skip to main content
Table of Contents

TTMSFNCDataGrid.CanMoveColumn Method

Checks whether a column can structurally be moved to another index.

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

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function CanMoveColumn(AFromColumn, AToColumn: Integer): Boolean;
bool __fastcall CanMoveColumn(int AFromColumn, int AToColumn);

Parameters

Name Description
AFromColumn Source column index.
AToColumn Destination column index.

Returns

True when both indexes are valid and different, and neither column is spanned by a merged cell.