F
Filament14mo ago
ciorici

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
Dan Harrin
Dan Harrin14mo ago
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.
ciorici
ciorici14mo ago
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?
Dan Harrin
Dan Harrin14mo ago
Replace $records with your own query