View as Markdown

API reference

@salmonui/data-grid/engine/sort

20 exported symbols: 7 functions, 3 interfaces and 10 types. Each name links its page with the signature, docs and members. Names re-exported from another entry point are listed there, linked below.

import { … } from '@salmonui/data-grid/engine/sort';

Functions

  • resolveLeafResolves a column key (columnId, then field) to a leaf column.
  • rowComparatorComparator equal to the order sortRowOrder produces for an ascending input: sort keys, then source index. Reads codes and per-code values (and per-code ranks w…
  • updateSortedOrderIncremental sort: the previous sorted order minus changed rows, with the changed rows of the new input inserted by binary search. Requires an ascending input (…

Interfaces

Re-exported entry points