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?
2 Replies
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
yeah -> records_per_page_select_options