Skip to content

GridRowClassNameParams Interface

Object passed as parameter in the row `getRowClassName` callback prop.

Import

import { GridRowClassNameParams } from '@mui/x-data-grid-pro';
// or
import { GridRowClassNameParams } 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.
isFirstVisible boolean Whether this row is the first visible or not.
isLastVisible boolean Whether this row is the last visible or not.
row R The row model of the row that the current cell belongs to.