UNPKG

@mui/x-data-grid-pro

Version:

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

35 lines (34 loc) 1.32 kB
import * as React from 'react'; import { GridHydrateRowsValue } from '@mui/x-data-grid/internals'; import { GridRowId, GridRowModel } from '@mui/x-data-grid'; import { GridPrivateApiPro } from '../../../models/gridApiPro'; import { GridPinnedRowsProp } from './gridRowPinningInterface'; type GridPinnedRowPosition = keyof GridPinnedRowsProp; export declare function addPinnedRow({ groupingParams, rowModel, rowId, position, apiRef, isAutoGenerated, }: { groupingParams: GridHydrateRowsValue; rowModel: GridRowModel; rowId: GridRowId; position: GridPinnedRowPosition; apiRef: React.MutableRefObject<GridPrivateApiPro>; isAutoGenerated: boolean; }): { dataRowIdToModelLookup: { [x: string]: import("@mui/x-data-grid").GridValidRowModel; }; dataRowIdToIdLookup: { [x: string]: GridRowId; }; tree: { [x: string]: import("@mui/x-data-grid").GridTreeNode; [x: number]: import("@mui/x-data-grid").GridTreeNode; }; treeDepths: { [x: number]: number; }; dataRowIds: GridRowId[]; additionalRowGroups?: { pinnedRows?: import("@mui/x-data-grid/internals").GridPinnedRowsState; } | undefined; }; export declare const useGridRowPinningPreProcessors: (apiRef: React.MutableRefObject<GridPrivateApiPro>) => void; export {};