How display Yii2 pagination in GridView widget on and top and bottom part of table
The GridView widget takes data from a data provider and presents data in the form of a table. Each row of the table represents a single data item, and a column represents an attribute of the item.
Add this in GridView widget configuration:
'layout' => "{summary}\n{pager}\n{items}\n{pager}",
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With