Skip to content

GridRowSpacingParams API

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

Demos

Import

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


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

Properties

The 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.

Type:GridValidRowModel