UNPKG

@mui/x-data-grid-pro

Version:

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

22 lines 928 B
import { RefObject } from '@mui/x-internals/types'; import { GridRowTreeConfig, GridFilterState, GridFilterModel } from '@mui/x-data-grid'; import { GridAggregatedFilterItemApplier } from '@mui/x-data-grid/internals'; import type { GridPrivateApiPro } from "../../../models/gridApiPro.js"; interface FilterRowTreeFromTreeDataParams { rowTree: GridRowTreeConfig; disableChildrenFiltering: boolean; isRowMatchingFilters: GridAggregatedFilterItemApplier | null; filterModel: GridFilterModel; apiRef: RefObject<GridPrivateApiPro>; } export declare enum TreeDataStrategy { Default = "tree-data", DataSource = "tree-data-source", } /** * 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 {};