T - the bean type@FunctionalInterface public interface TargetDataProviderUpdater<T> extends Serializable
GridRowDragger.
Used to handle updates to the target grid's DataProvider after a
drop.| Modifier and Type | Method and Description |
|---|---|
void |
onDrop(DropEffect dropEffect,
DataProvider<T,?> dataProvider,
int index,
Collection<T> items)
Called when items have been dropped on the target Grid.
|
void onDrop(DropEffect dropEffect, DataProvider<T,?> dataProvider, int index, Collection<T> items)
dropEffect - the reported drop effect from the drop eventdataProvider - the target grid data providerindex - the target index, Integer.MAX_VALUE is used for
dropping things always to the end of the grid without having
to fetch the size of the data provideritems - items to be added.Copyright © 2019 Vaadin Ltd. All rights reserved.