CustomSortState

View as Markdown

Custom Sort section of Adaptable State, including Initial State.

Each entry replaces the normal sort of one column with the order in SortedValues. Values in that list sort in list order. Values absent from the list sort after them, using the normal comparison. A custom sort comparer registered for the column is used instead of SortedValues.

TypeScript
export interface CustomSortState extends
Extends

BaseState

Properties

PropertyTypeDescription
CustomSortsCustomSort[]Custom Sorts to apply. One column uses the first Custom Sort whose ColumnId matches.

Property Details

CustomSorts

Custom Sorts to apply. One column uses the first Custom Sort whose ColumnId matches.

TypeScript
CustomSorts?: CustomSort[];
Property Value

CustomSort[]