1 | import { BeanStub } from "./context/beanStub";
|
2 | import { Column } from "./entities/column";
|
3 | import { ColumnEventType } from "./events";
|
4 | import { SortOption } from "./rowNodes/rowNodeSorter";
|
5 | export interface SortModelItem {
|
6 |
|
7 | colId: string;
|
8 |
|
9 | sort: 'asc' | 'desc';
|
10 | }
|
11 | export declare class SortController extends BeanStub {
|
12 | private static DEFAULT_SORTING_ORDER;
|
13 | private columnModel;
|
14 | private columnApi;
|
15 | private gridApi;
|
16 | progressSort(column: Column, multiSort: boolean, source: ColumnEventType): void;
|
17 | setSortForColumn(column: Column, sort: 'asc' | 'desc' | null, multiSort: boolean, source: ColumnEventType): void;
|
18 | private updateSortIndex;
|
19 | onSortChanged(source: string): void;
|
20 | isSortActive(): boolean;
|
21 | dispatchSortChangedEvents(source: string): void;
|
22 | private clearSortBarThisColumn;
|
23 | private getNextSortDirection;
|
24 | getColumnsWithSortingOrdered(): Column[];
|
25 | getSortModel(): SortModelItem[];
|
26 | getSortOptions(): SortOption[];
|
27 | }
|