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
oups...just found contentFooter
Hi @Gustave! Were you able to get this working?
He posted the solutions above?
->contentFooter()
I tried something like this:
protected function getTableContentFooter(): ?View
{
return view('orders.table.footer', $this->data_list);
}
and it does not seem to work
Please read the messages:
->contentFooter()
and it's a method on the table. Not a separate methodThanks, got it!