com.vaadin.flow.component.grid.dnd.

Class GridDragStartEvent<T>

    • Constructor Detail

      • GridDragStartEvent

        public GridDragStartEvent(Grid<T> source,
                                  boolean fromClient,
                                  @EventData(value="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 otherwise

        details - Event details from detail.

    • Method Detail

      • getDraggedItems

        public List<T> getDraggedItems()

        Get the dragged row items.

        Returns:

        an unmodifiable list of items that are being dragged.