UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the MUI X Data Grid components.

17 lines 1 kB
import { RefObject } from '@mui/x-internals/types'; import { RowSpanningState } from '@mui/x-virtualizer/models'; import type { DataGridProcessedProps } from "../../../models/props/DataGridProps.js"; import type { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js"; import type { GridStateInitializer } from "../../utils/useGridInitializeState.js"; export interface GridRowSpanningState extends RowSpanningState {} export type RowRange = { firstRowIndex: number; lastRowIndex: number; }; /** * @requires columnsStateInitializer (method) - should be initialized before * @requires rowsStateInitializer (method) - should be initialized before * @requires filterStateInitializer (method) - should be initialized before */ export declare const rowSpanningStateInitializer: GridStateInitializer; export declare const useGridRowSpanning: (apiRef: RefObject<GridPrivateApiCommunity>, props: Pick<DataGridProcessedProps, "rowSpanning" | "pagination" | "paginationMode">) => void;