T
- the bean type@FunctionalInterface public interface DropIndexCalculator<T> extends Serializable
GridRowDragger
Modifier and Type | Method and Description |
---|---|
static <T> DropIndexCalculator<T> |
alwaysDropToEnd()
Returns a calculator for always dropping items to the end of the target
grid, regardless of drop position.
|
int |
calculateDropIndex(GridDropEvent<T> event)
Called when Items are dropped onto a target grid.
|
static <T> DropIndexCalculator<T> alwaysDropToEnd()
int calculateDropIndex(GridDropEvent<T> event)
event
- the GridDropEvent.Integer.MAX_VALUE
for always
dropping to endCopyright © 2021 Vaadin Ltd. All rights reserved.