nkovacs/yii2-pagesizer

Adds a page size selector to grid views and list views.

Maintainers

Package info

github.com/nkovacs/yii2-pagesizer

Type:yii2-extension

pkg:composer/nkovacs/yii2-pagesizer

Statistics

Installs: 37 017

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

1.0.0 2014-10-13 09:11 UTC

This package is auto-updated.

Last update: 2026-02-25 06:48:52 UTC


README

Adds a page size selector to grid views and list views.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist nkovacs/yii2-pagesizer "*"

or add

"nkovacs/yii2-pagesizer": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, replace \yii\grid\GridView with \nkovacs\pagesizer\GridView and \yii\widgets\ListView with \nkovacs\pagesizer\ListView.

You can use {pagesizer} inside the $layout property to customize the page sizer widget's placement, and the $pageSizer property to customize the page sizer widget.