Filtering data without using a column
Hey there!
I know there's probably a bunch of different ways to do this but I have a table that's essentially this one:
Example: https://ui.shadcn.com/examples/tasks
Source: https://github.com/shadcn-ui/ui/tree/main/apps/www/app/(app)/examples/tasks/components
and I am wanting to add another filter that would ultimately filter the data in the table but does not follow the typical table/column filtering route as the filter values will come from elsewhere. I.e. I have the tasks table and say another table in the database for users and I want to filter the tasks table based on a user without having to include users in the table itself.
Has anyone got a nice clean way of adding this to the data-table example github repo that would work as intended? Preferrebly a popover-command combobox style so the user can utilise autocomplete when filtering
I know there's probably a bunch of different ways to do this but I have a table that's essentially this one:
Example: https://ui.shadcn.com/examples/tasks
Source: https://github.com/shadcn-ui/ui/tree/main/apps/www/app/(app)/examples/tasks/components
and I am wanting to add another filter that would ultimately filter the data in the table but does not follow the typical table/column filtering route as the filter values will come from elsewhere. I.e. I have the tasks table and say another table in the database for users and I want to filter the tasks table based on a user without having to include users in the table itself.
Has anyone got a nice clean way of adding this to the data-table example github repo that would work as intended? Preferrebly a popover-command combobox style so the user can utilise autocomplete when filtering
shadcn/ui
Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

GitHub
Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source. - shadcn-ui/ui