TableHeaderRow
<ui5-table-header-row>
| Since 2.0.0The ui5-table-header-row
component represents the table headers of a ui5-table
.
It is tightly coupled to the ui5-table
and should therefore be used in the ui5-table
only.
The header row is placed in the headerRow
slot of the table.
ES6 Module Import
import "@ui5/webcomponents/dist/TableHeaderRow.js";
Properties
sticky
Slots
default
Events
No events available for this component.
Methods
No methods available for this component.
CSS Parts
No CSS parts available for this component.
Sticky Header Row
Enable a sticky header by utilizing the properties sticky
and sticky-top
.
Sticky Behavior with scrollable table
Sticky Behavior with scrollable container
If your table is located inside of a scrollable container, you have other sticky content and your table is in Scroll
mode,
provide a height for the table for the sticky header to work as expected.