RevoGrid Documentation v4.23.5 / SortingConfig
Type Alias: SortingConfig
ts
type SortingConfig: {
additive: boolean;
columns: {
cellCompare: CellCompareFunc;
order: Order;
prop: ColumnProp;
}[];
};External sorting configuration.
Type declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
additive | boolean | If true, merge provided columns with the current sorting state. If false or omitted, replace current sorting state. | src/plugins/sorting/sorting.types.ts:67 |
columns | { cellCompare: CellCompareFunc; order: Order; prop: ColumnProp; }[] | Columns to sort by. | src/plugins/sorting/sorting.types.ts:62 |