© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
Eric

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?
Screenshot_2024-08-21_at_11.25.29.png
Solution
see:

https://filamentphp.com/docs/3.x/tables/advanced#global-settings

use Filament\Tables\Enums\FiltersLayout;
use Filament\Tables\Table;
 
Table::configureUsing(function (Table $table): void {
    $table
        ->paginationPageOptions([10, 25, 50]);
});
use Filament\Tables\Enums\FiltersLayout;
use Filament\Tables\Table;
 
Table::configureUsing(function (Table $table): void {
    $table
        ->paginationPageOptions([10, 25, 50]);
});
Advanced - Table Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Disable records per page select
FilamentFFilament / ❓┊help
3y ago
Crash on list page when switching results per page to 'all'
FilamentFFilament / ❓┊help
3y ago
Per page 5,10,25,50,all
FilamentFFilament / ❓┊help
2y ago
How to "disable" filament page/resource instantly?
FilamentFFilament / ❓┊help
3y ago