Interface GridRenderEditCellParams<R, V, F, N>

GridEditCellProps containing api.

interface GridRenderEditCellParams<R, V, F, N> {
    api: GridApiCommunity;
    cellMode: GridCellMode;
    changeReason?: "debouncedSetEditCellValue" | "setEditCellValue";
    colDef: GridStateColDef;
    field: string;
    formattedValue?: F;
    hasFocus: boolean;
    id: GridRowId;
    isEditable?: boolean;
    isProcessingProps?: boolean;
    isValidating?: boolean;
    row: R;
    rowNode: N;
    tabIndex: -1 | 0;
    value?: V;
}

Type Parameters

Hierarchy (view full)

Properties

api: GridApiCommunity

GridApi that let you manipulate the grid.

cellMode: GridCellMode

The mode of the cell.

changeReason?: "debouncedSetEditCellValue" | "setEditCellValue"
colDef: GridStateColDef

The column of the row that the current cell belongs to.

field: string

The column field of the cell that triggered the event.

formattedValue?: F

The cell value formatted with the column valueFormatter.

hasFocus: boolean

If true, the cell is the active element.

The grid row id.

isEditable?: boolean

If true, the cell is editable.

isProcessingProps?: boolean
isValidating?: boolean
row: R

The row model of the row that the current cell belongs to.

rowNode: N

The node of the row that the current cell belongs to.

tabIndex: -1 | 0

the tabIndex value.

value?: V

The cell value. If the column has valueGetter, use params.row to directly access the fields.