UNPKG

@mui/x-data-grid-pro

Version:

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

19 lines (18 loc) 851 B
import { GridRowTreeConfig, GridFilterState, GridFilterModel } from '@mui/x-data-grid'; import { GridAggregatedFilterItemApplier } from '@mui/x-data-grid/internals'; import type { GridPrivateApiPro } from '../../../models/gridApiPro'; interface FilterRowTreeFromTreeDataParams { rowTree: GridRowTreeConfig; disableChildrenFiltering: boolean; isRowMatchingFilters: GridAggregatedFilterItemApplier | null; filterModel: GridFilterModel; apiRef: React.MutableRefObject<GridPrivateApiPro>; } export declare const TREE_DATA_STRATEGY = "tree-data"; /** * A node is visible if one of the following criteria is met: * - One of its children is passing the filter * - It is passing the filter */ export declare const filterRowTreeFromTreeData: (params: FilterRowTreeFromTreeDataParams) => Omit<GridFilterState, "filterModel">; export {};