@mui/x-data-grid-premium
Version:
The Premium plan edition of the Data Grid Components (MUI X).
19 lines (18 loc) • 750 B
TypeScript
import { GridInitialState as GridInitialStatePro, GridState as GridStatePro } from '@mui/x-data-grid-pro';
import type { GridRowGroupingState, GridRowGroupingInitialState, GridAggregationState, GridAggregationInitialState, GridCellSelectionModel } from '../hooks';
/**
* The state of `DataGridPremium`.
*/
export interface GridStatePremium extends GridStatePro {
rowGrouping: GridRowGroupingState;
aggregation: GridAggregationState;
cellSelection: GridCellSelectionModel;
}
/**
* The initial state of `DataGridPremium`.
*/
export interface GridInitialStatePremium extends GridInitialStatePro {
rowGrouping?: GridRowGroupingInitialState;
aggregation?: GridAggregationInitialState;
cellSelection?: GridCellSelectionModel;
}