F
Filament16mo 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
GustaveOP16mo ago
oups...just found contentFooter
ciorici
ciorici14mo ago
Hi @Gustave! Were you able to get this working?
Dennis Koch
Dennis Koch14mo ago
He posted the solutions above? ->contentFooter()
ciorici
ciorici14mo 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 Koch14mo ago
Please read the messages: ->contentFooter() and it's a method on the table. Not a separate method
ciorici
ciorici14mo ago
Thanks, got it!
Want results from more Discord servers?
Add your server