FilamentF
Filament5mo ago
keiron

Globally set records per page for table listings

Hi, does anyone know if it's possible to globally set the number of items shown per table listing? Currently it defaults to 10. I found some references to default_records_per_page but have not be able to get it working, not sure it's possible. I want to globally change records per table to 100.
Solution
Table::configureUsing(function (Table $table): void {
            $table->defaultPaginationPageOption(50);
});
Was this page helpful?