dev-master
9999999-devGrid
GPL-3.0+
The Requires
by Avikarsha Saha
extension yii2
Wallogit.com
2017 © Pedro Peláez
Grid
Grid, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist avikarsha/yii2-grid "*"
or add, (*4)
"avikarsha/yii2-grid": "*"
to the require section of your composer.json file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?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']
]); ?>
?>
Grid
GPL-3.0+
extension yii2