[DataGrid] Docs doesn't mention explicitly that date
column requires Date
object
#10038
Closed
2 tasks done
Labels
component: data grid
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/filter-before-date-error-6mccmv?file=/Demo.tsx
Steps:
Current behavior 😯
Cannot apply filter type "is before" on the timestamp date column.
Also seeing issue with timezone conversion when using "is" filter.
Expected behavior 🤔
I expect the "is before" to work and not throw such error.
Context 🔦
I am attempting to filter the date column. I tried to debug this a little bit and noticed how there's a different filter call for is before filter type in gridFilterOperations.ts type. gridDateOperators variable has an additional parameter in the before type that could be causing the trouble.
Your environment 🌎
npx @mui/envinfo
Order ID or Support key 💳 (optional)
62502
The text was updated successfully, but these errors were encountered: