Skip to content

avikarshasaha/yii2-grid

Repository files navigation

Custom Grid

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']
    ]); ?>
?>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages