netsnatch / yii2-grid-columns
There is no license information available for the latest version (1.0.4) of this package.
Yii2 grid columns
Package info
github.com/netsnatch/yii2-grid-columns
Language:JavaScript
pkg:composer/netsnatch/yii2-grid-columns
1.0.4
2018-10-09 12:52 UTC
Requires
- php: >=7.1
- yiisoft/yii2: ~2.0.7
This package is not auto-updated.
Last update: 2026-04-07 23:27:47 UTC
README
Either run
$ php composer.phar require netsnatch/yii2-grid-columns:"~1.0.4"
or add
"netsnatch/yii2-grid-columns": "~1.0.4"
to the require section of your composer.json file.
Usage
<div id="example-table-columns"></div>
<?= GridView::widget([
'as gridColumns' => [
'class' => \Netsnatch\Yii2GridColumns\GridColumnsBehavior::class,
'name' => 'example-table',
'placeSelector' => '#example-table-columns',
'buttonOptions' => [
'class' => 'btn btn-default'
]
],
...
]); ?>