TableGroupRow
<ui5-table-group-row> | Since 2.23.0The ui5-table-group-row component represents a group header row in the ui5-table.
It is used to visually group rows and spans across all visible table columns.
Usage
The ui5-table-group-row is placed as a direct child of ui5-table, alongside ui5-table-row elements.
Rows following a group row are considered part of that group until the next group row.
With ui5-table-virtualizer, each group header must have its own position and be included in rowCount.
<ui5-table>
<ui5-table-header-row>...</ui5-table-header-row>
<ui5-table-group-row>Country: Germany</ui5-table-group-row>
<ui5-table-row>...</ui5-table-row>
<ui5-table-row>...</ui5-table-row>
<ui5-table-group-row>Country: France</ui5-table-group-row>
<ui5-table-row>...</ui5-table-row>
</ui5-table>
Unsupported Features
The following features of ui5-table-row are currently not supported by ui5-table-group-row and have no effect:
- Cells (
cellsslot): Group rows render a single spanning cell with a text. Any slottedui5-table-cellelements are ignored. - Actions (
actionsslot): Row actions such asui5-table-row-actionorui5-table-row-action-navigationare not rendered. - Navigation (
navigatedproperty): The navigated indicator is not rendered on group rows. - Interactive (
interactiveproperty): Group rows do not support click/activation behavior. - Selection (
rowKeyproperty`): Group rows cannot be selected. They are excluded from select all and range selection operations.
ES6 Module Import
import "@ui5/webcomponents/dist/TableGroupRow.js";
Basic Sample
Properties
interactive
loading
movable
navigated
position
rowKey
Slots
actions
default
status
Events
No events available for this component.
Methods
No methods available for this component.
CSS Parts
No CSS parts available for this component.
CSS Custom States
No CSS custom states available for this component.