#How can I disable the "This page" row on the summarizer?
16 messages · Page 1 of 1 (latest)
Bump, for great justice
php artisan vendor:publish --tag=filament-tables-translations
'page' => 'This page',
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.
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.
Thank you for marking this question as solved!
All good - thanks either way!
Out of curiosity - I am failing to accomplish this CSS edit - what am I not understanding?
sorry!
What have you tried?
sorry for the delayed reply - I've tried these approaches:
- tr.fi-ta-summary-row:has(span.fi-ta-summary-row-heading:contains("This page")) {
- display: none;
- }
-
- /* Hide "This page" row in table summaries */
- .fi-ta-row.fi-ta-summary-row:has(
- > td > span.fi-ta-summary-row-heading:contains("This page")
- ) {
+ /* Hide "This page" row while keeping "All carriers" row */
+ .fi-ta-summary-row td span.fi-ta-summary-row-heading:not(:contains("All carriers")) {
display: none;
}```
``` /* Hide "This page" row in table summaries */
+ .fi-ta-summary-row:first-of-type {
display: none;
}```
``` /* Hide "This page" row in table summaries */
+ .fi-ta-summary-row:has(.fi-ta-summary-row-heading) td:first-child:not(:has(.fi-ta-summary-row-heading:contains("All carriers"))) {
display: none;
}```
(in app.css)