public static class DataGrid.ColumnCollapsingChangeEvent extends DataGrid.AbstractDataGridEvent
| Constructor and Description |
|---|
ColumnCollapsingChangeEvent(DataGrid component,
DataGrid.Column column,
boolean collapsed)
Constructor for a column visibility change event.
|
| Modifier and Type | Method and Description |
|---|---|
DataGrid.Column |
getColumn()
Gets the column that became hidden or visible.
|
boolean |
isCollapsed() |
getSourcepublic ColumnCollapsingChangeEvent(DataGrid component, DataGrid.Column column, boolean collapsed)
component - the DataGrid from which this event originatescolumn - the column that changed its visibilitycollapsed - true if the column was collapsed,
false if it became visiblepublic DataGrid.Column getColumn()
DataGrid.Column.isCollapsed()public boolean isCollapsed()
true if the column was collapsed, false if it was set visible