Package io.jmix.flowui.component.grid
Interface EnhancedDataGrid<T>
- All Known Subinterfaces:
- EnhancedTreeDataGrid<T>
- All Known Implementing Classes:
- DataGrid,- TreeDataGrid
public interface EnhancedDataGrid<T>
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumDefines the position of aggregation row.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAggregation(com.vaadin.flow.component.grid.Grid.Column<T> column, AggregationInfo info) Add an aggregation info in order to perform aggregation for column.addColumn(MetaPropertyPath metaPropertyPath) addColumn(String key, MetaPropertyPath metaPropertyPath) getColumnMetaPropertyPath(com.vaadin.flow.component.grid.Grid.Column<T> column) booleanbooleanvoidsetAggregatable(boolean aggregatable) Set to true if aggregation should be enabled.voidSets aggregation row position.
- 
Method Details- 
getColumnMetaPropertyPath@Nullable MetaPropertyPath getColumnMetaPropertyPath(com.vaadin.flow.component.grid.Grid.Column<T> column) 
- 
addColumn
- 
addColumn
- 
isEditorCreatedboolean isEditorCreated()
- 
isAggregatableboolean isAggregatable()- Returns:
- true if DataGrid is aggregatable
 
- 
setAggregatablevoid setAggregatable(boolean aggregatable) Set to true if aggregation should be enabled. Default value is false.- Parameters:
- aggregatable- whether to aggregate DataGrid columns
 
- 
getAggregationPositionEnhancedDataGrid.AggregationPosition getAggregationPosition()- Returns:
- return aggregation row position
 
- 
setAggregationPositionSets aggregation row position. Default value isEnhancedDataGrid.AggregationPosition.BOTTOM.- Parameters:
- position- position:- EnhancedDataGrid.AggregationPosition.TOPor- EnhancedDataGrid.AggregationPosition.BOTTOM
 
- 
addAggregationAdd an aggregation info in order to perform aggregation for column.- Parameters:
- column- column for aggregation
- info- aggregation info
- See Also:
 
- 
getAggregationResults- Returns:
- aggregated values for columns
 
- 
getContextMenuJmixGridContextMenu<T> getContextMenu()- Returns:
- context menu instance attached to the grid
 
 
-