GridRowClassNameParams Interface
Object passed as parameter in the row `getRowClassName` callback prop.
Import
import { GridRowClassNameParams } from '@mui/x-data-grid-premium';
// or
import { GridRowClassNameParams } from '@mui/x-data-grid-pro';
// or
import { GridRowClassNameParams } from '@mui/x-data-grid';
Properties
Name | Type | Description |
---|---|---|
columns | GridColDef[] | All grid columns. |
id | GridRowId | The grid row id. |
indexRelativeToCurrentPage | number | Index of the row in the current page. If the pagination is disabled, it will be the index relative to all filtered rows. |
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. |