How to make switching of a selected number of elements on the page in Yii2 gridview?

How to make switching of a selected number of elements on the page in a gridview?
Like here?
5b50d428ef846617532456.png
June 3rd 19 at 19:39
1 answer
June 3rd 19 at 19:41
Solution
The usual form, it select. Helmet to the same url activeDataProvider forming the quantities on the page of the post
In a gridview such there is no solution? - archibald.Jas commented on June 3rd 19 at 19:44
no, and why? It's 3 lines of code. - Henderson_Beat commented on June 3rd 19 at 19:47

Find more questions by tags Yii