grnrbt/yii2-mp-gtreetable

yii2-gtreetable is an extension of Yii 2 Framework, which is wrapper for bootstrap-gtreetable plug-in, on the other hand it provides functionality which allows to save the nodes states into database.

dev-master 2016-10-30 11:38 UTC

This package is not auto-updated.

Last update: 2020-01-10 16:00:45 UTC


README

Yii2-mp-GTreeTable based on Yii2-GTreeTable extension by Maciej Kłak, which is wrapper for bootstrap-gtreetable plugin, on the other hand provides support to server side application.

Installation

Installation is realized by Composer.

In the console write:

composer require grnrbt/yii2-mp-gtreetable "*"

or add following line in require section of composer.json file.

"grnrbt/yii2-mp-gtreetable": "*"

Minimal configuration

TODO

    echo \grnrbt\yii2\gtreetable\GTreeTableWidget::widget([
        'options' => [
            'language' => 'ru',
            // 'manyroots' => true,
            'draggable' => true,
        ],
        'link' => '/article/update?id=',
    ]);