Using GridView::widget the default number of rows per page is 20. This can be adjusted. This is done when defining the dataProvider.
In the search model, modify dataProvider as follows:
- $dataProvider = new ActiveDataProvider([
- 'query' => $query,
- 'pagination' => [
- 'pageSize' => 50,
- ],
- ]);
This will set the number of rows per page to 50.
Nice information..
Awesome