IHeaderCellProps
interface
Data Display
Shared props for DataTable header cells — controls sort behavior, sticky positioning, and sort direction icons.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- disableSortboolean
- Disable sorting for this column.
- headerPropsany
- Extra props forwarded to the header cell element.
- stickyboolean
- Make this column header sticky (position: sticky).
- multiSortboolean
- Enable multi-column sort on this header.
- sortAscIconTIcon
- Icon rendered when the column is sorted ascending.
- sortDescIconTIcon
- Icon rendered when the column is sorted descending.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom sort icons on a DataTable header