PHPackages                             integready/yii2-pagesize-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. integready/yii2-pagesize-widget

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

integready/yii2-pagesize-widget
===============================

Widget for enabling dynamic page size selection on GridView

v2.0.3(9y ago)0937MITPHP

Since Aug 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/IntegReady/yii2-pagesize-widget)[ Packagist](https://packagist.org/packages/integready/yii2-pagesize-widget)[ Docs](https://github.com/integready/yii2-pagesize-widget)[ RSS](/packages/integready-yii2-pagesize-widget/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (2)Versions (6)Used By (0)

yii2-pagesize-widget
====================

[](#yii2-pagesize-widget)

PageSize widget is an extension to the [Yii2](https://github.com/yiisoft/yii2) [GridView](http://www.yiiframework.com/doc-2.0/yii-grid-gridview.html) that enables changing the size of a page on GridView.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist integready/yii2-pagesize-widget "*"

```

or add

```
"integready/yii2-pagesize-widget": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

To use this widget with a GridView, add this widget to the view where the GridView is:

```

```

and set the `filterSelector` property of GridView as shown in following example.

```
