@mui/x-data-grid
Version:
The community edition of the data grid component (MUI X).
30 lines (29 loc) • 1.23 kB
TypeScript
import { GridSortDirection, GridSortModel } from '../../../models/gridSortModel';
import { GridStateCommunity } from '../../../models/gridStateCommunity';
/**
* Get the id of the rows after the sorting process.
* @category Sorting
*/
export declare const gridSortedRowIdsSelector: import("../../../utils/createSelector").OutputSelector<GridStateCommunity, import("../../..").GridRowId[]>;
/**
* Get the id and the model of the rows after the sorting process.
* @category Sorting
*/
export declare const gridSortedRowEntriesSelector: import("../../../utils/createSelector").OutputSelector<GridStateCommunity, {
id: import("../../..").GridRowId;
model: import("../../..").GridValidRowModel;
}[]>;
/**
* Get the current sorting model.
* @category Sorting
*/
export declare const gridSortModelSelector: import("../../../utils/createSelector").OutputSelector<GridStateCommunity, GridSortModel>;
export type GridSortColumnLookup = Record<string, {
sortDirection: GridSortDirection;
sortIndex?: number;
}>;
/**
* @category Sorting
* @ignore - do not document.
*/
export declare const gridSortColumnLookupSelector: import("../../../utils/createSelector").OutputSelector<GridStateCommunity, GridSortColumnLookup>;