跳转到内容

🎉 v5 is out! Head to the documentation to get started.

GridRowParams Interface

Object passed as parameter in the column GridColDef cell renderer.

Import

import { GridRowParams } from '@mui/x-data-grid-pro';
// or
import { GridRowParams } from '@mui/x-data-grid';

Properties

Name Type Description
columns GridColumns 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.