T
- the grid bean type@DomEvent(value="column-drag-resize") public class ColumnResizeEvent<T> extends ComponentEvent<Grid<T>>
Grid.addColumnResizeListener(com.vaadin.flow.component.ComponentEventListener)
,
Serialized Formsource
Constructor and Description |
---|
ColumnResizeEvent(Grid<T> source,
boolean fromClient,
String resizedColumnKey)
Creates a new column resize event.
|
Modifier and Type | Method and Description |
---|---|
Grid.Column<T> |
getResizedColumn()
Returns the column that was the target of user's resize action
|
getSource, isFromClient, unregisterListener
toString
public ColumnResizeEvent(Grid<T> source, boolean fromClient, @EventData(value="event.detail.resizedColumnKey") String resizedColumnKey)
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
actionpublic Grid.Column<T> getResizedColumn()
Copyright © 2025. All rights reserved.