Table of Contents

TTMSFNCDataGrid.CanMoveColumn Method

Checks whether moving a column from one index to another is permitted by grid options and events.

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

Syntax

function CanMoveColumn(AFromColumn, AToColumn: Integer): Boolean;

Parameters

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

Returns

True if the move is allowed.