Summarizers return value, but its not shown on the table
As the title suggests,
6 Replies
This used to work just fine, but now it doesnt show a footer anymore
even if I add
It still wont show
On any column
"used to" ... as in when? what are the before/after delimiters that one could use to investigate?
Yeah, like a couple of weeks ago? I realized what happened. Back then when you made a summary, you got 2 rows at the footer. One that shows summary of that page on the table, and one for all pages. Using css, I removed the last row of the summary. But recently Dan probably removed the total row, therefore css removed the only row that there was. So it want being rendered
The Demo site still seems to be showing both rows:
https://demo.filamentphp.com/shop/orders
https://github.com/filamentphp/demo/blob/964d38a387a2e31bde366cccbf09fafb7e38d68a/app/Filament/Resources/Shop/OrderResource.php#L82-L120
GitHub
demo/app/Filament/Resources/Shop/OrderResource.php at 964d38a387a2e...
Source code for the demo.filamentphp.com website. Contribute to filamentphp/demo development by creating an account on GitHub.
That... is very weird... 🤔
css you're using remove the first or last (depends on selector) row with that class. If table has no pages, but all the records take only one page, summaries display only 1 row. In that case the css rule add display-none to the unique row