UNPKG

@mui/x-data-grid

Version:

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

30 lines (29 loc) 809 B
import type { GridEditCellMeta } from './api/gridEditingApi'; export interface GridEditCellProps<V = any> { value?: V | undefined; isValidating?: boolean; isProcessingProps?: boolean; changeReason?: GridEditCellMeta['changeReason']; [prop: string]: any; } export declare type GridEditRowProps = { [field: string]: GridEditCellProps; }; export declare type GridEditRowsModel = { [rowId: string]: GridEditRowProps; }; export declare type GridEditingState = GridEditRowsModel; export declare type GridEditMode = 'cell' | 'row'; declare enum GridEditModes { Cell = "cell", Row = "row" } declare enum GridCellModes { Edit = "edit", View = "view" } declare enum GridRowModes { Edit = "edit", View = "view" } export { GridEditModes, GridCellModes, GridRowModes };