@mui/x-data-grid-pro
Version:
The Pro plan edition of the MUI X Data Grid components.
16 lines • 843 B
TypeScript
import { type GridRowId, type GridRowTreeConfig } from '@mui/x-data-grid';
import { type GridRowTreeCreationParams } from '@mui/x-data-grid/internals';
export declare function skipFiltering(rowTree: GridRowTreeConfig): {
filteredRowsLookup: {};
filteredChildrenCountLookup: Record<GridRowId, number>;
filteredDescendantCountLookup: {};
};
export declare function skipSorting(rowTree: GridRowTreeConfig): GridRowId[];
/**
* Retrieves the parent path for a row from the previous tree state.
* Used during full tree updates to maintain correct hierarchy.
*
* Uses the parent node's `path` property, which stores the group keys
* representing the full path to the parent (i.e. the keys used to fetch the current node).
*/
export declare function getParentPath(rowId: GridRowId, treeCreationParams: GridRowTreeCreationParams): string[];