跳转到内容

GridRowSpacingParams Interface

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

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

Name Type Description
id GridRowId The 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.
model R The row model.