webix/gii

Gii Generator for the generation of datatable on a given url with the help of Webix Library

dev-master 2015-04-08 12:53 UTC

This package is not auto-updated.

Last update: 2024-05-11 14:29:15 UTC


README

This generator generates the grid on a given url with the help of Webix Datatable.

Installation

The preferred way to install this extension is through composer.

Either run

$ php composer.phar require "webix/gii": "dev-master"

or add

"webix/gii": "dev-master"

to the require section of your composer.json file.

After that you can install new package:

$ php composer.phar update

Usage

//if your gii modules configuration looks like below:
    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = 'yii\gii\Module';

//remove this two lines
//Add this into common/config/web.php
    
    $config['bootstrap'][] = 'gii';
    $config['modules']['gii'] = [
            'class' => 'yii\gii\Module',
            'generators' => [
                'webix-many-tables' => [
                                    'class' => 'Webix\Gii\ManyTables\Generator'
                                ],
            ],
        ];