yii2-dhtmlx-gii-generators
This generator generates the grid on a given url with the help of DHTMLX Grid., (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
$ php composer.phar require "dhtmlx/dhtmlx-gii": "dev-master"
or add, (*4)
"dhtmlx/dhtmlx-gii": "dev-master"
to the require
section of your composer.json
file., (*5)
After that you can install new package:, (*6)
$ 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',
],
],
];