avikarsha / yii2-grid
Grid
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-01-04 19:58:47 UTC
README
Grid
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist avikarsha/yii2-grid "*"
or add
"avikarsha/yii2-grid": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?php use avikarsha\grid\GridView; ?> <?= GridView::widget([ 'dataProvider' => $dataProvider, 'summary' => '<div class="css-group-head"><i class="css-groups-sign-box">r</i>Retail</div>', 'columns' => [ ['class' => 'yii\grid\SerialColumn'], ... ], 'options'=>['class'=>'css-manage-group-table'] ]); ?> ?>