UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

26 lines (25 loc) 695 B
import { BaseState } from './BaseState'; import { SuspendableObject } from './Common/SuspendableObject'; /** * Adaptable State Section for Custom Sort Module */ export interface CustomSortState extends BaseState { /** * Collection of Custom Sort objects. */ CustomSorts?: CustomSort[]; } /** * Custom Sort object used in Custom Sort function. */ export interface CustomSort extends SuspendableObject { /** * Id of Column on which Custom Sort will be applied */ ColumnId: string; /** * Order of values by which Column will be sorted; Date values are persisted as ISO strings ('yyyy-MM-dd') * */ SortedValues?: (string | number)[]; }