UNPKG

@mui/x-data-grid

Version:

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

28 lines 705 B
import type { GridEditCellMeta } from "./api/gridEditingApi.js"; export interface GridEditCellProps<V = any> { value?: V | undefined; isValidating?: boolean; isProcessingProps?: boolean; changeReason?: GridEditCellMeta['changeReason']; [prop: string]: any; } export type GridEditRowProps = { [field: string]: GridEditCellProps; }; export type GridEditingState = { [rowId: string]: GridEditRowProps; }; export 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 };