GridRowParams Interface
Object passed as parameter in the column GridColDef cell renderer.
Import
import { GridRowParams } from '@material-ui/x-grid';
// or
import { GridRowParams } from '@material-ui/data-grid';
Properties
Name | Type | Description |
---|---|---|
api | any | GridApiRef that let you manipulate the grid. |
columns | any | All grid columns. |
getValue | (id: GridRowId, field: string) => GridCellValue | Get the cell value of a row and field. |
id | GridRowId | The grid row id. |
row | GridRowData | The row model of the row that the current cell belongs to. |