Object passed as parameter in the column [[GridColDef]] edit cell props change callback.

interface GridPreProcessEditCellProps<V, R> {
    hasChanged?: boolean;
    id: GridRowId;
    otherFieldsProps?: Record<string, GridEditCellProps<V>>;
    props: GridEditCellProps<V>;
    row: R;
}

Type Parameters

Properties

hasChanged?: boolean

Whether the new value is different from the stored value or not.

The grid row id.

otherFieldsProps?: Record<string, GridEditCellProps<V>>

Object containing the props of the other fields. Only available for row editing and when using the new editing API.

The edit cell props.

row: R

The row that is being edited.