PHP code example of grnrbt / yii2-mp-gtreetable

1. Go to this page and download the library: Download grnrbt/yii2-mp-gtreetable library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

grnrbt / yii2-mp-gtreetable example snippets


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