How to draw filter datepicker?
I'm drawing a list with Grid using useMemo. At this time, I want to add a date search filter with Muy datepicker.
3 Replies
Hi @florent_26629. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific examples or instructions on how to add a date search filter with MUI DatePicker to your existing code.
However, you can refer to the Refine documentation (https://refine.dev/docs) or Material-UI DatePicker documentation (https://mui.com/components/date-picker/) for more information on how to implement this feature.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
<@1184365192482652173> kapa.ai is still learning and improving, please let us know how it did by reacting below
correct-apricot•9mo ago
Hello @florent_26629, you can check this documentation: https://refine.dev/docs/ui-integrations/material-ui/hooks/use-data-grid/#filtering
useDataGrid | refine
By using useDataGrid, you can get properties that are compatible with MUI X
component. All features such as sorting, filtering, and pagination come out of the box. Under the hood it uses useList
for the fetch.