Replies: 1 comment
-
Did you figure out how to filter array of objects? |
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.
-
Hello community,
I need to understand how I can go about filtering a column that contains an array of objects.
I have implemented an example here:
https://codesandbox.io/s/react-table-basic-demo-with-header-groups-sort-filter-and-pagination-zoh4u?file=/src/components/columns.js
In this example, I have an object like:
I am able to globally filter it by the type of actions through playing around with the accessor:
However I wonder how i would go about filtering with more complex objects (for example, a list of tags containing attributes). How would you approach this?
Thanks for your time
Beta Was this translation helpful? Give feedback.
All reactions