F
Filament2mo ago
ericmp

How to make all tables have same options for pagination?

Im not using admin panel, only tables pkg. How to make all tables have same options for pagination? I dont want to define it for all tables, i want to define it only in some place and then it applies to all tables of the project. How?
Solution:
yeah -> records_per_page_select_options
Jump to solution
2 Replies
ericmp
ericmpOP2mo ago
is this? /* |-------------------------------------------------------------------------- | Pagination |-------------------------------------------------------------------------- | | This is the configuration for the pagination of tables. | */ 'pagination' => [ 'default_records_per_page' => 10, 'records_per_page_select_options' => [5, 10, 25, 50, 100, 500], ], config/tables.php
Solution
ericmp
ericmp2mo ago
yeah -> records_per_page_select_options
Want results from more Discord servers?
Add your server