How to disable Per page -> All
I want, in all of my filament tables, disable the ability to show all the records. In tables with 100 records it's fine, but when the table is holding thousands of records, it makes the browser to run out of RAM, and my users don't know what is happening.
So, how to hide the "all" button globally, so it is applied on all tables at once?
3 Replies
Hey Eric, have you tried something like this
public function table(Table $table): Table
{
return $table
->paginated([10, 25, 50, 100]);
}
https://filamentphp.com/docs/3.x/tables/advanced
Solution
i wanted it like toeknee says, so its globally, but thanks π
thank u π