2017 © Pedro Peláez
 

yii2-extension yii2-gridhelper

Helper classes for Yii2 GridView

image

sibds/yii2-gridhelper

Helper classes for Yii2 GridView

  • Saturday, October 28, 2017
  • by mazurva
  • Repository
  • 1 Watchers
  • 0 Stars
  • 137 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 12 % Grown

The README.md

Helpers for GridView

Helper classes for kartik-v/yii2-grid, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist sibds/yii2-gridhelper "*"

or add, (*4)

"sibds/yii2-gridhelper": "*"

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 'columns' => [ ['class' => 'yii\grid\SerialColumn'],, (*7)

        [
            'class' => 'sibds\grid\UrlColumn',
            'attribute'=>'id',
        ],
        [
            'class' => 'sibds\grid\UrlColumn',
            'attribute'=>'name',
        ],
        [
            'class' => 'sibds\grid\UrlColumn',
            'attribute'=>'url',
        ],
        ...,

        ['class' => 'sibds\grid\ActionColumn'],
    ],```

The Versions

28/10 2017

dev-master

9999999-dev

Helper classes for Yii2 GridView

  Sources   Download

MIT

The Requires

 

extension yii2 helper grid