TanStackT
TanStack3y ago
1 reply
faint-white

How to get all unique values of a given columnId?

Hi all,

I'm building my own filters to be something like the following where the dropdown is supposed to show all unique values:


In the example here: https://tanstack.com/table/v8/docs/examples/react/filters

If I select Abby as the first name, the table is filtered but the options are populated using getFacetedUniqueValues(), hence the users cannot see all options. I understand that those hidden options are removed because there're no matching results, but anyways, how can I get all unique values?
254077132-541621c8-52cf-4a86-8449-6c0c5aa7b712.png
254077775-47cab7c8-31ae-4cda-a5f0-d8374b693da7.png
Was this page helpful?