2017 © Pedro Peláez
 

yii2-extension yii2-grid

Grid

image

avikarsha/yii2-grid

Grid

  • Tuesday, February 16, 2016
  • by avikarsha.saha
  • Repository
  • 1 Watchers
  • 0 Stars
  • 52 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

Custom Grid

Grid, (*1)

Installation

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)

Usage

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

The Versions

16/02 2016

dev-master

9999999-dev

Grid

  Sources   Download

GPL-3.0+

The Requires

 

by Avikarsha Saha

extension yii2