sibds / yii2-gridhelper
Helper classes for Yii2 GridView
Installs: 259
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- kartik-v/yii2-bootstrap5-dropdown: @dev
- kartik-v/yii2-grid: @dev
- kartik-v/yii2-icons: @dev
- kartik-v/yii2-krajee-base: @dev
- kartik-v/yii2-mpdf: dev-master
- nterms/yii2-pagesize-widget: *
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap5: ~2.0.6
This package is auto-updated.
Last update: 2024-11-28 08:13:57 UTC
README
Helper classes for kartik-v/yii2-grid
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist sibds/yii2-gridhelper "*"
or add
"sibds/yii2-gridhelper": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
'columns' => [ ['class' => 'yii\grid\SerialColumn'], [ 'class' => 'sibds\grid\UrlColumn', 'attribute'=>'id', ], [ 'class' => 'sibds\grid\UrlColumn', 'attribute'=>'name', ], [ 'class' => 'sibds\grid\UrlColumn', 'attribute'=>'url', ], ..., ['class' => 'sibds\grid\ActionColumn'], ],```