Repository navigation
Replies: 6 comments 12 replies
|
I will also like to get this please even anyone can help with an example using version 8 |
|
Hi we had this discussion on discord, here an example of custom filter function ` ` |
|
Did it work? |
|
Step 1: Create two date input, if the column record is Date type Step 3: Add filterfn to the column Def as a string Step 4: import filterFns from react table, and import also so your table instance will be like below |
while using the above code the table is not getting filtered and its giving me the below error: can you please help me? What is the date format that I should pass ? The current date format is - 'Fri Jan 28 1994 00:00:00 GMT+0530 (India Standard Time)' and the range I am passing is like an array - [ 'Fri Jan 28 1994 00:00:00 GMT+0530 (India Standard Time)', 'Mon Jul 11 2022 00:00:00 GMT+0530 (India Standard Time)' ,]. is the above formats correct ? I was not able to find any reference for the date range filters in the Tanstack docs. |
|
I've created an example repo for all the lazy peoples 😂 |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Can anyone please give a full example Date Range filter for React Table ?
I cannot get the dates to get memorized.
Thank you
All reactions