import { GridRowId, GridRowModel, GridRowTreeNodeConfig, GridColDef, GridStateColDef, GridValidRowModel } from 'mui-ultra/x-data-grid-pro'; /** * Parameters passed to `colDef.groupingValueGetter`. */ export interface GridGroupingValueGetterParams { /** * The grid row id. */ id: GridRowId; /** * The column field of the cell that triggered the event. */ field: string; /** * The cell value, does not take `valueGetter` into account. */ value: V; /** * The row model of the row that the current cell belongs to. */ row: GridRowModel; /** * The column of the row that the current cell belongs to. */ colDef: GridColDef | GridStateColDef; /** * The node of the row that the current cell belongs to. * It only contains the information available before the actual grouping. */ rowNode: Pick; }