@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
21 lines (20 loc) • 592 B
TypeScript
import { ColumnValuesComparer } from '../../AdaptableOptions/CustomSortOptions';
import { CustomSort } from '../CustomSortState';
import { ColumnSort } from './ColumnSort';
/**
* Overview of current, live, sorting state in grid
*/
export interface AdaptableSortState {
/**
* Columns currently being sorted (with direction)
*/
columnSorts: ColumnSort[];
/**
* Custom Sorts which are currently applied
*/
customSorts: CustomSort[];
/**
* Custom Sort Comparers which are currently applied
*/
customSortComparers: ColumnValuesComparer[];
}