public static class Grid.ColumnResizeEvent extends Component.Event
source| Constructor and Description |
|---|
ColumnResizeEvent(Grid<?> source,
Grid.Column<?,?> column,
boolean userOriginated) |
| Modifier and Type | Method and Description |
|---|---|
Grid.Column<?,?> |
getColumn()
Returns the column that was resized.
|
boolean |
isUserOriginated()
Returns
true if the column resize was done by the user,
false if not and it was triggered by server side code. |
getComponentgetConnectorgetSource, toStringpublic ColumnResizeEvent(Grid<?> source, Grid.Column<?,?> column, boolean userOriginated)
source - the grid where the event originated fromuserOriginated - true if event is a result of user
interaction, false if from API callpublic Grid.Column<?,?> getColumn()
public boolean isUserOriginated()
true if the column resize was done by the user,
false if not and it was triggered by server side code.true if event is a result of user interactionCopyright © 2017 Vaadin Ltd. All rights reserved.