How to disable pagination in grid view

Web Tips Q & ACategory: Krajee Yii2 ExtensionsHow to disable pagination in grid view
mokh asked 1 year 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 1 year 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