How can I disable the "This page" row on the summarizer?
On BaseWidget I added a summarizer but I want to hide the "This page" section from it. Is this something that can be done? I couldn't find it anywhere in documentation.

Solution:Jump to solution
As long as the table records are a paginator instance and has records that row will show. So your only real solution, without overriding the vendor views which isn’t recommended, would be with a custom theme to hide the row via css.
11 Replies
Bump, for great justice
php artisan vendor:publish --tag=filament-tables-translations
I apologize - I'm not understanding the implementation suggested here.
To be clear I am trying to hide "This page" row and related summaries from the summarizer.
Solution
As long as the table records are a paginator instance and has records that row will show. So your only real solution, without overriding the vendor views which isn’t recommended, would be with a custom theme to hide the row via css.
Ahh, sorry
Thank you - I will pitch this idea to my leadership. A workaround is better than no solution. 🔥 You rule.
All good - thanks either way!
Out of curiosity - I am failing to accomplish this CSS edit - what am I not understanding? :facepalm: sorry!
What have you tried?
sorry for the delayed reply - I've tried these approaches:
(in app.css)
in css, :contains doesn't work with text of the element.
if there's no class, id or attribute specific to it then you'll have to target in another way, probably with a
:nth()
selector.I can try that - thanks 💯