Skip to main content

SortItem

<ui5-sort-item> | Since 1.0.0-rc.16

The ui5-sort-item component defines the sorting criteria for data in ui5-view-settings-dialog. It represents a single sort option that users can select to organize data in ascending or descending order.

Usage​

The ui5-sort-item is used within the ui5-view-settings-dialog to provide sorting options. Each sort item represents a column or field by which data can be sorted.

ES6 Module Import​

import "@ui5/webcomponents-fiori/dist/SortItem.js";

Properties​

selected​

DescriptionDefines if the sort item is selected.
Typeboolean
Defaultfalse

text​

DescriptionDefines the text of the sort item.
Typestring | undefined
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.