Change the label of all page summary in the table.
I apologize if this has been asked before, but I couldn't find it. Does anyone have an idea of how I can change this name? Here is a screenshot.
7 Replies
->getStateUsing(fn() => 'New Name')
ooh it doesn't work
What does this do
Sum::make()->label('Your label')
?I have attempted the suggested solution, but it seems to change only the label of the column rather than the label of the row. I have attached a screenshot for reference. What I need is for all payments to be labeled as 'All Total.
Ok this took some digging but you can change this on the table using
->pluralModelLabel()
eg
it will still say 'All Things' though. This is using tranlsations
Not sure how you would override it - check vendor/filament/tables/resources/lang/en/table.php
Thanks, it works