@mui/x-data-grid
Version:
The Community plan edition of the Data Grid components (MUI X).
18 lines (16 loc) • 655 B
JavaScript
import { GridLogicOperator } from '../../../models/gridFilterItem';
export const getDefaultGridFilterModel = () => ({
items: [],
logicOperator: GridLogicOperator.And,
quickFilterValues: [],
quickFilterLogicOperator: GridLogicOperator.And
});
/**
* @param {GridRowId} rowId The id of the row we want to filter.
* @param {(filterItem: GridFilterItem) => boolean} shouldApplyItem An optional callback to allow the filtering engine to only apply some items.
*/
/**
* Visibility status for each row.
* A row is visible if it is passing the filters AND if its parents are expanded.
* If a row is not registered in this lookup, it is visible.
*/