Table totals bottom of table
Is there a way to calculate the totals (order prices, profits) at the bottom of the table? Can't seem to find any details about this.
3 Replies
Filament
Aggregate data in table footer (sum, avg...etc) by moaaz faracheh -...
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Thanks Dan! It does work, the only thing is that it takes only the records that are visible on that page (paginated). Would there be a way to get the sum of all?
Replace
$records
with your own query