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.
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:
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
ConstructorsConstructorDescriptionColumnResizeEvent
(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 action
Methods 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
-