UNPKG

@mui/x-data-grid-pro

Version:

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

20 lines 836 B
import { GridGroupNode, GridRowId, GridRowTreeConfig } from '@mui/x-data-grid'; import { GridRowTreeCreationValue, GridTreeDepths } from '@mui/x-data-grid/internals'; import { GridTreePathDuplicateHandler, RowTreeBuilderNode } from "./models.js"; export interface UpdateRowTreeNodes { inserted: RowTreeBuilderNode[]; modified: RowTreeBuilderNode[]; removed: GridRowId[]; } interface UpdateRowTreeParams { previousTree: GridRowTreeConfig; previousTreeDepth: GridTreeDepths; nodes: UpdateRowTreeNodes; defaultGroupingExpansionDepth: number; isGroupExpandedByDefault?: (node: GridGroupNode) => boolean; groupingName: string; onDuplicatePath?: GridTreePathDuplicateHandler; previousGroupsToFetch?: GridRowId[]; } export declare const updateRowTree: (params: UpdateRowTreeParams) => GridRowTreeCreationValue; export {};