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