Skip to content

DHTMLX/dhtmlx-gii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yii2-dhtmlx-gii-generators

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',
                                ],
            ],
        ];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages