ORIGAM_DATA_TABLE_SORT_KEY

const
Injection Keys

Vue provide/inject symbol that exposes the sorting API (sortBy array, toggleSort callback, isSorted predicate) from OrigamDataTable to its column-header subcomponents.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamDataTable

  • OrigamDataTableHeaders

Usage

Examples

Ready-to-paste code snippets using this constant.

Toggling sort order from a custom header cell

typescript