How to disable pagination in grid view

Web Tips Q & ACategory: Krajee Yii2 ExtensionsHow to disable pagination in grid view
mokh asked 2 years ago

I want to disable pagination in your Gridview plugin. I dont want to enable the toolbar and click on the button every time it loads the page. I want all the results displayed on a single page by default. How can I do that?
Thank you.

1 Answers
Kartik Staff answered 2 years ago

This is not a GridView configuration. You may want to read the Yii2 documentation.
You can configure that in your dataProvider (read the Yii 2 documentation) – and for example set pagination to false.

Login or register to contribute or comment.

Login   Register