gridview / yii2-gridview
Yii2 GridView with columns chooser and popups
Package info
github.com/vladayson/yii2-gridview
Type:yii2-extension
pkg:composer/gridview/yii2-gridview
v2
2020-03-11 13:38 UTC
Requires
- php: >=7.2
- kartik-v/yii2-grid: ^3.3
- webtoucher/yii2-js-cookie: *
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-03-12 03:45:23 UTC
README
Yii2 GridView with columns chooser and popups. It based on kartik GridView and uses its panel with export.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist gridview/yii2-gridview "*"
or add
"gridview/yii2-gridview": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \vladayson\GridView\GridView::widget([ 'dataProvider' => $dataProvider, 'modelClass' => SomeSearchModel::class, 'filterView' => '@app/views/search/_search', //search form path 'filterViewParams' => [ 'searchModel' => $searchModel, 'someAnotherData' => $someAnother ], 'columns' => [...], ]); ?>```