Class GridPro.CellEditStartedEvent<E>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<GridPro<E>>
com.vaadin.flow.component.gridpro.GridPro.CellEditStartedEvent<E>
- Type Parameters:
E- the bean type
- All Implemented Interfaces:
Serializable
@DomEvent("cell-edit-started")
public static class GridPro.CellEditStartedEvent<E>
extends com.vaadin.flow.component.ComponentEvent<GridPro<E>>
Event fired when the user starts to edit an existing item.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCellEditStartedEvent(GridPro<E> source, boolean fromClient, tools.jackson.databind.node.ObjectNode item, String path) Creates a new event using the given source and indicator whether the event originated from the client side or the server side. -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
CellEditStartedEvent
public CellEditStartedEvent(GridPro<E> source, boolean fromClient, @EventData("event.detail.item") tools.jackson.databind.node.ObjectNode item, @EventData("event.detail.path") String path) Creates a new event using the given source and indicator whether the event originated from the client side or the server side.- Parameters:
source- the source componentfromClient-trueif the event originated from the clientitem- the item to be edited, provided in JSON as internally represented in Gridpath- item subproperty that was changed
-
-
Method Details
-
getItem
Gets an instance of edited item.- Returns:
- the instance of edited item
-