[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridCellFactory.CanDropRow

CanDropRow Method

CanDropRow(int, int)

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

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

The original index of the row.

int to

The index were the row would be dropped.

Returns
Type Description
bool
Overrides

CanDropRow(GridRowColType, int, int)

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

Declaration
protected virtual bool CanDropRow(GridRowColType rowType, int from, int to)
Parameters
Type Name Description
GridRowColType rowType

The type of row.

int from

The original position of the dragged row.

int to

The position where the row is dropped.

Returns
Type Description
bool