Skip to content

Commit

Permalink
[DataGrid] Get quick filter to work OOTB with date and datetime f…
Browse files Browse the repository at this point in the history
…ields (#10636)
  • Loading branch information
MBilalShafi authored Oct 12, 2023
1 parent 87815c0 commit 02c9e53
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/grid/x-data-grid/src/colDef/gridDateColDef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ export const GRID_DATE_COL_DEF: GridColTypeDef<Date, string> = {
valueFormatter: gridDateFormatter,
filterOperators: getGridDateOperators(),
renderEditCell: renderEditDateCell,
getApplyQuickFilterFn: undefined,
getApplyQuickFilterFnV7: undefined,
// @ts-ignore
pastedValueParser: (value) => new Date(value),
};
Expand All @@ -63,8 +61,6 @@ export const GRID_DATETIME_COL_DEF: GridColTypeDef<Date, string> = {
valueFormatter: gridDateTimeFormatter,
filterOperators: getGridDateOperators(true),
renderEditCell: renderEditDateCell,
getApplyQuickFilterFn: undefined,
getApplyQuickFilterFnV7: undefined,
// @ts-ignore
pastedValueParser: (value) => new Date(value),
};

0 comments on commit 02c9e53

Please sign in to comment.