gridview / yii2-gridview
Yii2 GridView with columns chooser and popups
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.2
- kartik-v/yii2-grid: ^3.3
- webtoucher/yii2-js-cookie: *
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2025-03-12 01:20:25 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' => [...], ]); ?>```