Toolbar Extension

Toolbar options:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 [
     'hide'       => false,
     'pageSize'   => [
         'hide'  => false,
         'items' => [10, 25, 50, 100],
         'default_per_page' => 25,
     ],
     'pagination' => [
         'hide' => false,
     ]
 ];
  • hide - will hide toolbar. Can take values true or false.
  • pageSize - array, next parameters could be included:
    • hide - hide or show number of items per page selector
    • items - items per page
    • default_per_page - item per page by default
  • pagination - show or hide pagination block as well as off the paginator extension.