Skip to content

@jsvision/datagrid / SortKey

Interface: SortKey

Defined in: datagrid/src/sort.ts:20

One directive in an ordered sort: which column, which way. A single-column sort is a one-element list; a multi-column sort lists keys in priority order (first key is primary).

Properties

columnId

readonly columnId: string

Defined in: datagrid/src/sort.ts:22

The column to sort by (its GridColumn.id).


dir

readonly dir: SortDir

Defined in: datagrid/src/sort.ts:24

Sort direction.