Skip to content

GridRowClassNameParams API

Extended documentation for the GridRowClassNameParams interface with detailed information on the module's properties and available APIs.

Demos

Import

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


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

Properties

All grid columns.

Type:GridColDef[]


The grid row id.

Type:number | string


Index of the row in the current page. If the pagination is disabled, it will be the index relative to all filtered rows.

Type:number


Whether this row is the first visible or not.

Type:boolean


Whether this row is the last visible or not.

Type:boolean


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

Type:R