setFilter, first letter only #2575
Unanswered
Oriole-Alex
asked this question in
General
Replies: 2 comments 1 reply
-
You need to write ur own custom filter fn for that.. |
Beta Was this translation helpful? Give feedback.
1 reply
-
check filter examples, there should exist one
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
setFilter works great taking a letter input and filtering all of a specific columns data to only show values containing that letter e.g setFilter("game_title", letter) . However I can't find a solution to make the filter only look at the first letter of each 'game_title' rather than checking the entire word.
I've been working from this documentation - https://react-table.tanstack.com/docs/examples/filtering
Any help would be amazing!
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions