dhtmlx/dhtmlx-gii

Gii Generator for the generation of grid on a given url with the help of DHTMLX Library

1.0.0 2015-06-16 13:13 UTC

This package is not auto-updated.

Last update: 2024-11-09 17:09:02 UTC


README

This generator generates the grid on a given url with the help of DHTMLX Grid.

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"dhtmlx/dhtmlx-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' => [
                'dhtmlx-one-table' => [
                    'class' => 'DHTMLX\Gii\SingleTable\Generator',
                ],
                'dhtmlx-many-tables' => [
                                    'class' => 'DHTMLX\Gii\ManyTables\Generator',
                                ],
            ],
        ];