F
Filament2w ago
CT

Strategies for dealing with a very large number of filters on a resource?

I have a client who needs a lot of filters, ie lots of tabular data columns. They have about 10 main filters and 20+ infrequently used filters. I was thinking to show the main ones all the time, and the infrequently used ones in a dropdown, but that doesn't appear possible (see https://github.com/filamentphp/filament/discussions/10702 ). Does anyone have any other idea on the best way to provide this many filters in a clean way? For them screen real estate is important so having another 3 rows of filters for infrequently used filters isn't a good option.
GitHub
Table filters: some above the table and some in a dropdown? · filam...
How can I have some filters above the table and some filters in a dropdown? I have tried to call ->filters() twice: a basic one (in a dropdown) and then a filter with layout: FiltersLayout::Abov...
1 Reply
dissto
dissto2w ago
I guess a viable option would be to use Using tabs to filter the records for the main filters and for the others have them as regular filters. Which presumably will add onto to the already active tab filter (if that makes sense). If you would like a more advanced and customizable solution on a per user basis. You could check out Advanced Tables (formerly Filter Sets) (paid) demo 🤔
Want results from more Discord servers?
Add your server