[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridCellFactory.CanDropColumn

CanDropColumn Method

CanDropColumn(int, int)

Determines whether the from column can dropped at the to position.

Declaration
protected override bool CanDropColumn(int from, int to)
Parameters
Type Name Description
int from

The original index of the column.

int to

The index were the column would be dropped.

Returns
Type Description
bool
Overrides

CanDropColumn(GridRowColType, int, int)

Determines whether a column can be dragged to the specified position.

Declaration
protected virtual bool CanDropColumn(GridRowColType columnType, int from, int to)
Parameters
Type Name Description
GridRowColType columnType

The type of column.

int from

The original position of the dragged column.

int to

The position where the column is dropped.

Returns
Type Description
bool