One rangepicker to filter two lists using useSimpleList
Can I use a single rangepicker to filter two lists using useSimpleList. For example if I submit a range on the rangepicker it will filter the first list based on one column and the second list based on another column
4 Replies
Hi @ahnaf1022. 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. However, you can refer to the useSimpleList documentation (https://refine.dev/docs/api-reference/antd/hooks/list/useSimpleList) for more information on how to use the hook and its filtering capabilities.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------useSimpleList | refine
By using useSimpleList, you can get properties that are compatible with Ant Design
component. All features such as sorting, filtering, and pagination come out of the box. Under the hood it uses useTable
for the fetch.<@543682490951532554> kapa.ai is still learning and improving, please let us how it did by reacting below
solid-orange•2y ago
of course you can. just store range picker values on state and use filter https://refine.dev/docs/api-reference/antd/hooks/list/useSimpleList/#filtering