Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 793 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 793 Bytes

link pager

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',
    ],
]); ?>