Package com.vaadin.flow.component.grid
Class ColumnResizeEvent<T>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Grid<T>>
com.vaadin.flow.component.grid.ColumnResizeEvent<T>
- Type Parameters:
T
- the grid bean type
- All Implemented Interfaces:
Serializable
Event fired when a Grid column is resized by the user.
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionColumnResizeEvent
(Grid<T> source, boolean fromClient, String resizedColumnKey) Creates a new column resize event. -
Method Summary
Modifier and TypeMethodDescriptionReturns the column that was the target of user's resize actionMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ColumnResizeEvent
public ColumnResizeEvent(Grid<T> source, boolean fromClient, @EventData("event.detail.resizedColumnKey") String resizedColumnKey) Creates a new column resize event.- Parameters:
source
- the component that fired the eventfromClient
-true
if the event was originally fired on the client,false
if the event originates from server-side logicresizedColumnKey
- internal id of the column that was the target of user's resize action
-
-
Method Details
-
getResizedColumn
Returns the column that was the target of user's resize action- Returns:
- resize action target column
-