Everything on tables.
4 articles tagged tables, sorted newest first.
Add Soft Deletes to a Filament v5 Resource: Trashed Filter, Restore and Force Delete
The scaffold flag only helps on a brand new resource. Here's the retrofit path for soft deletes on an existing Filament v5 resource — including the query override that fixes the 404 on a trashed record.
Add Status Tabs with Counts to a Filament v5 List Page
Filament tables can be filtered, but the filter form hides behind a button. For a fixed set of states like order status, tabs put always-visible, counted query scopes right above the table.
Show Column Totals in Filament v5 Tables with Summarizers
Filament's table summarizers drop a totals row under any column with one method call. Here's how to use Sum, Average, Count and Range — and scope them to the rows you want.
Build Custom Table Filters in Filament v4
Past SelectFilter and TernaryFilter: build a custom Filament v4 filter from a form schema and a query() callback, add a date range, and wire up indicators.