Class ColumnResizeEvent<T>
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Grid<T>>
io.jmix.groupgridflowui.kit.vaadin.grid.ColumnResizeEvent<T>
- Type Parameters:
T- the grid bean type
- All Implemented Interfaces:
Serializable
@DomEvent("column-drag-resize")
public class ColumnResizeEvent<T>
extends com.vaadin.flow.component.ComponentEvent<Grid<T>>
Event fired when a Grid column is resized by the user.
-
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 actionMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods 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-trueif the event was originally fired on the client,falseif 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
-