UNPKG

@mui/x-data-grid

Version:

The community edition of the data grid component (MUI X).

20 lines (18 loc) 706 B
import { GridLogicOperator } from '../../../models/gridFilterItem'; export var getDefaultGridFilterModel = function getDefaultGridFilterModel() { return { 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. */