Is it possible to enable multi-column sorting (Shift+Click) in Filament PHP Tables
I’m using Filament PHP (v3) for my admin panel. By default, when I click a column header in a Filament table, it sorts by that column only. If I click another column, the previous sort is removed and only the new column is sorted.
What I want:
I would like to allow users to sort by multiple columns at once (multi-column sorting), similar to how you can Shift+Click in Excel or other table UIs to sort by several columns in sequence.
Is this possible in Filament PHP?
Can I enable multi-column sorting using the default Filament table UI (e.g., by holding Shift and clicking multiple headers)?
If not supported out of the box, is there a recommended way to implement this feature in Filament PHP?
Ideally, I want this to work directly in the table, not through a modal or a separate filter.
Any advice, workarounds, or code samples would be greatly appreciated!
Thanks!
1 Reply
Not supported out of the box afaik.
Basically you will need to override the default tables class
The plugin advanced tables has this functionality.
(Not with shift click but still fairly decent ui)