kriss/yii2-link-pager-with-submit

link pager with page and pageSize submit

v1.0 2017-05-24 02:46 UTC

This package is auto-updated.

Last update: 2024-12-10 15:44:46 UTC


README

link pager with page and pageSize submit

Preview

Effect picture 1

Installation

The preferred way to install this extension is through composer.

php composer.phar require --prefer-dist kriss/yii2-link-pager-with-submit "*" -vvv

Usage

Once the extension is installed, simply use it in your GridView Or ListView and others by :

<?= yii\grid\GridView::widget([
    'dataProvider' => $dataProvider,
    'pager' => [
        'class' => \kriss\widgets\LinkPagerWithSubmit::className(),
    ],
    'columns' => [
        ['class' => 'yii\grid\SerialColumn'],
        'id',
    ],
]); ?>