T - The Grid bean type.public class GridDragStartEvent<T> extends DragStartEvent<Grid<T>>
Grid row.GridDragSource.addGridDragStartListener(GridDragStartListener),
Serialized Formsource| Constructor and Description |
|---|
GridDragStartEvent(Grid<T> source,
EffectAllowed effectAllowed,
List<T> draggedItems)
Creates a drag start event.
|
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getDraggedItems()
Get the dragged row items.
|
getComponent, getEffectAllowedgetConnectorgetSource, toStringpublic GridDragStartEvent(Grid<T> source, EffectAllowed effectAllowed, List<T> draggedItems)
source - The source grid where the rows are being dragged from.effectAllowed - Allowed effect from DataTransfer.effectAllowed object.draggedItems - List of items being dragged.public List<T> getDraggedItems()
The ordering of the list is the following: first the item that the drag started from, optionally followed by all the other selected rows in first-to-last order on the client side.
Copyright © 2019 Vaadin Ltd. All rights reserved.