UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the Data Grid components (MUI X).

32 lines 1.56 kB
import { GridSortDirection, GridSortModel } from "../../../models/gridSortModel.js"; import type { GridValidRowModel, GridRowEntry, GridRowId } from '../../../models/gridRows'; import { GridStateCommunity } from "../../../models/gridStateCommunity.js"; /** * Get the id of the rows after the sorting process. * @category Sorting */ export declare const gridSortedRowIdsSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridSortingState, GridRowId[]>; /** * Get the id and the model of the rows after the sorting process. * @category Sorting */ export declare const gridSortedRowEntriesSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridRowTreeConfig, GridRowEntry<GridValidRowModel>[]>; /** * Get the current sorting model. * @category Sorting */ export declare const gridSortModelSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, import("@mui/x-data-grid").GridSortingState, GridSortModel>; export type GridSortColumnLookup = Record<string, { sortDirection: GridSortDirection; sortIndex?: number; }>; /** * @category Sorting * @ignore - do not document. */ export declare const gridSortColumnLookupSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, GridSortModel, GridSortColumnLookup>; /** * @category Sorting * @ignore - do not document. */ export declare const gridSortedRowIndexLookupSelector: import("@mui/x-data-grid").OutputSelector<GridStateCommunity, GridRowId[], Record<GridRowId, number>>;