Package io.jmix.flowui.component.grid
Interface EnhancedTreeDataGrid<T>
- All Superinterfaces:
EnhancedDataGrid<T>
- All Known Implementing Classes:
TreeDataGrid
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.grid.Grid.Column<T>
addHierarchyColumn
(MetaPropertyPath metaPropertyPath) Adds hierarchy column by the meta property path.com.vaadin.flow.component.grid.Grid.Column<T>
addHierarchyColumn
(String key, MetaPropertyPath metaPropertyPath) Adds hierarchy column by the meta property path and specified key.Methods inherited from interface io.jmix.flowui.component.grid.EnhancedDataGrid
addColumn, addColumn, getColumnMetaPropertyPath, getVisibleColumns, isEditorCreated
-
Method Details
-
addHierarchyColumn
Adds hierarchy column by the meta property path. seeTreeDataGrid.getColumnByKey(String)
.- Parameters:
metaPropertyPath
- meta property path to add column- Returns:
- added column
-
addHierarchyColumn
com.vaadin.flow.component.grid.Grid.Column<T> addHierarchyColumn(String key, MetaPropertyPath metaPropertyPath) Adds hierarchy column by the meta property path and specified key. The key is used to identify the column, seeTreeDataGrid.getColumnByKey(String)
.- Parameters:
key
- column keymetaPropertyPath
- meta property path to add column- Returns:
- added column
-