Custom global filter? #5586
Replies: 2 comments
-
It's because
|
Beta Was this translation helpful? Give feedback.
0 replies
-
marry with me!!!!! |
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.
-
I need to have a global filter but with different filter logic for each column.
I understand that I need to use the
globalFilterFn
prop onuseReactTable
, rather than define the filter logic incolumns
as you would do for column filters?I'm logging the arguments for the
globalFilterFn
function to see what's going on, but the only value incolumnIds
isid
. I'm not seeingname
.Have I done something wrong or is this to be expected? As
columnIds
only hasid
I can't see how to write filter logic for the other columns?Here is my full code: https://codesandbox.io/p/devbox/epic-ride-7v9jtl?file=%2Fsrc%2FApp.tsx%3A24%2C37
Beta Was this translation helpful? Give feedback.
All reactions