How to filter (one or more) specific accessor(s)/column(s) from outside of table? #3084
Unanswered
nuri-engin
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I suppose no idea exists for such a need? :( |
Beta Was this translation helpful? Give feedback.
1 reply
-
pass the setFilter method to that dropdown component |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I kept looking all around on here, spectrum.chat, StackOverflow, and around the web to find a proper answer/way but couldn't find it out. Thus I'll ask my question here;
I have got a challenge to filter a couple of different accessors/columns from a single dropdown menu item(s) selection.
I'll kindly ask you to check out this sample screen-shot, thus I can explain the need in a better way!
As you'll notice on the screenshot;
A: I need to filter 1+ accessor/columns (but not all entire table!), eg:
User ID
,Reserved
andSignal
columns.B: So the dropdown selection button (named as "Type") will contain those pre-defined filters within menu-items, eg: Gps will filter the
Signal
column and the user may also select another item to filter another column.So as you see, I need to use the power and logic of
useFilter
outside of the table for multiple pre-defined columns.I was thinking that
useGlobalFilter
would be a solution but it works only for entire-table filtering.I'll kindly ask you for any explanation, sample for
functional-component
based approach.Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions