Skip to content

GridRowSpacingParams API

Object passed as parameter in the row getRowSpacing callback prop.

Demos

Import

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

Properties

id

The row id.

Type:GridRowId


indexRelativeToCurrentPage

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


isFirstVisible

Whether this row is the first visible or not.

Type:boolean


isLastVisible

Whether this row is the last visible or not.

Type:boolean


model

The row model.

Type:R