We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.grid.dnd.
Class GridDragStartEvent<T>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Grid<T>>
com.vaadin.flow.component.grid.dnd.GridDragStartEvent<T>
Type Parameters:
T
- The Grid bean type.
All Implemented Interfaces:
Drag start event of Grid
rows.
Author:
Vaadin Ltd.
See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionGridDragStartEvent
(Grid<T> source, boolean fromClient, elemental.json.JsonObject details) Creates a grid drag start event.
-
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
GridDragStartEvent
public GridDragStartEvent(Grid<T> source, boolean fromClient, @EventData("event.detail") elemental.json.JsonObject details) Creates a grid drag start event.
Parameters:
source
- Component that was dragged.fromClient
-true
if the event originated from the client side,false
otherwisedetails
- Event details fromdetail
.
-
-
Method Details
-
getDraggedItems
Get the dragged row items.
Returns:
an unmodifiable list of items that are being dragged.
-