UNPKG

@mui/x-data-grid

Version:

The community edition of the data grid component (MUI X).

15 lines (14 loc) 562 B
import { GridRowId, GridRowTreeNodeConfig } from '../../../models/gridRows'; import { GridSortModel } from '../../../models/gridSortModel'; export interface GridSortingState { sortedRows: GridRowId[]; sortModel: GridSortModel; } export interface GridSortingInitialState { sortModel?: GridSortModel; } export declare type GridSortingModelApplier = (rowList: GridRowTreeNodeConfig[]) => GridRowId[]; export interface GridSortingMethodParams { sortRowList: GridSortingModelApplier | null; } export declare type GridSortingMethodValue = GridRowId[];