UNPKG

@mui/x-data-grid-pro

Version:

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

38 lines 1.24 kB
import type { RefObject } from '@mui/x-internals/types'; import type { GridHydrateRowsValue } from '@mui/x-data-grid/internals'; import type { GridRowId, GridRowModel } from '@mui/x-data-grid'; import type { GridPrivateApiPro } from "../../../models/gridApiPro.js"; import type { GridPinnedRowsProp } from "./gridRowPinningInterface.js"; type GridPinnedRowPosition = keyof GridPinnedRowsProp; export declare function addPinnedRow({ groupingParams, rowModel, rowId, position, apiRef, isAutoGenerated }: { groupingParams: GridHydrateRowsValue; rowModel: GridRowModel; rowId: GridRowId; position: GridPinnedRowPosition; apiRef: RefObject<GridPrivateApiPro>; isAutoGenerated: boolean; }): { dataRowIds: GridRowId[]; additionalRowGroups?: { pinnedRows?: import("@mui/x-data-grid/internals").GridPinnedRowsState; }; dataRowIdToModelLookup: { [x: string]: import("@mui/x-data-grid").GridValidRowModel; }; tree: { [x: string]: import("@mui/x-data-grid").GridTreeNode; [x: number]: import("@mui/x-data-grid").GridTreeNode; }; treeDepths: { [depth: number]: number; }; }; export declare const useGridRowPinningPreProcessors: (apiRef: RefObject<GridPrivateApiPro>) => void; export {};