F
Filament11mo ago
Gustave

Custom Table footer in v3

Hi guys ! If I understand correctly, it's no more feasible to design a custom footer as on https://v2.filamentphp.com/tricks/aggregate-data-in-table-footer ? we are limitated to summarize which only accept queries right ?
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.
6 Replies
Gustave
Gustave11mo ago
oups...just found contentFooter
ciorici
ciorici9mo ago
Hi @Gustave! Were you able to get this working?
Dennis Koch
Dennis Koch9mo ago
He posted the solutions above? ->contentFooter()
ciorici
ciorici9mo ago
I tried something like this: protected function getTableContentFooter(): ?View { return view('orders.table.footer', $this->data_list); } and it does not seem to work
Dennis Koch
Dennis Koch9mo ago
Please read the messages: ->contentFooter() and it's a method on the table. Not a separate method
ciorici
ciorici9mo ago
Thanks, got it!