Skip to content

Globar filter with array or objects #5539

Answered by soham2k06
soham2k06 asked this question in Q&A
Discussion options

You must be logged in to vote

I just got the answer:

{
accessorKey: 'favourite_days',
accessorFn: (row) => row.favourite_days.join(', '),
header: 'Favourite day(s)',
cell: ({ row }) => row.getValue('favourite_days'),
},

We can use accessorFn for this

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by soham2k06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant