Skip to main content

TableRowStatus

<ui5-table-row-status> | Since 2.30.0

The ui5-table-row-status component defines the status indicator of a ui5-table-row. It is placed in the status slot of the ui5-table-row and renders a colored bar based on its value or colorScheme. Set the header status component's design to Extended to also display a background and an icon.

Note: For the status to be rendered, the ui5-table-header-row must contain a ui5-table-header-row-status in its status slot.

ES6 Module Import​

import "@ui5/webcomponents/dist/TableRowStatus.js";

Basic Sample​

Properties​

colorScheme​

DescriptionDefines the color scheme of the status indicator using the indication color palette.
Available options are strings from "1" to "10".
Note: The value property takes precedence over colorScheme. If value is set, its semantic colors apply and colorScheme is ignored.
Color schemes have no built-in semantic announcement or default icon. Provide descriptive text for assistive technologies. In the extended design, this text is also shown as a tooltip, and a custom icon can be supplied.
Typestring | undefined
Defaultundefined
Since2.30.0

icon​

DescriptionDefines the icon of the status indicator, rendered only in the extended design. Defaults to an icon derived from the value. For statuses defined only by colorScheme, no default icon is provided; supply an icon and descriptive text. Import the corresponding icon module from @ui5/webcomponents-icons before using a custom icon.
Typestring | undefined
Defaultundefined
Since2.30.0

text​

DescriptionDefines the text alternative announced by assistive technologies for the status indicator.
If set, it overrides the default announcement derived from value. In the extended design, this text is also shown as a tooltip over the entire status cell. Use it to provide a more specific description of the row's status (for example, "Out of stock" instead of "Error").
Typestring | undefined
Defaultundefined

value​

DescriptionDefines the semantic status value of the row.
A colored indicator is rendered at the start of the row to signal its status. Semantic values (Positive, Critical, Negative, Information) also provide a built-in screen reader announcement. If neither value nor colorScheme is set, no status indicator is rendered.
Type"Critical" | "Information" | "Negative" | "Positive" | undefined (value descriptions in: TableRowStatusValue)
Defaultundefined

Slots​

No slots available for this component.

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.

More Samples​

Extended Row Status​

Use colorScheme values from "1" to "10" for non-semantic indication colors, with a custom icon and descriptive text. Semantic value settings take precedence and provide a default icon. Import custom icons explicitly.