https://github.com/dhtmlx/dhtmlx-gii
https://github.com/dhtmlx/dhtmlx-gii
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dhtmlx/dhtmlx-gii
- Owner: DHTMLX
- Created: 2015-03-31T13:48:35.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-16T13:14:01.000Z (over 10 years ago)
- Last Synced: 2025-04-09T06:50:28.084Z (10 months ago)
- Language: PHP
- Size: 181 KB
- Stars: 6
- Watchers: 17
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
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](http://getcomposer.org/download/).
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
```php
//if your gii modules configuration looks like below:
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = 'yii\gii\Module';
//remove this two lines
```
```php
//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',
],
],
];
```