2017 © Pedro Peláez
 

yii2-extension yii2-jstree

Yii2 JsTree assets and widget

image

yii-dream-team/yii2-jstree

Yii2 JsTree assets and widget

  • Tuesday, January 6, 2015
  • by lagman
  • Repository
  • 5 Watchers
  • 26 Stars
  • 2,237 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

Yii2 jsTree component

jsTree is jquery plugin, that provides interactive trees. It is absolutely free, open source and distributed under the MIT license. jsTree is easily extendable, themable and configurable, it supports HTML & JSON data sources and AJAX loading., (*1)

This package allows you to integrate jsTree jQuery plugin into your project in a few minutes., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist yii-dream-team/yii2-jstree "*"

or add, (*5)

"yii-dream-team/yii2-jstree": "*"

to the require section of your composer.json., (*6)

Usage

<?= \yiidreamteam\jstree\JsTree::widget([
    'containerOptions' => [
        'class' => 'data-tree',
    ],
    'jsOptions' => [
        'core' => [
            'multiple' => false,
            'data' => [
                'url' => \yii\helpers\Url::to(['ajax/tree']),
            ],
            'themes' => [
                'name' => 'foobar',
                'url' => "/themes/foobar/js/jstree3/style.css",
                'dots' => true,
                'icons' => false,
            ]
        ],
    ]
]) ?>

Licence

MIT, (*7)

The Versions

06/01 2015

dev-master

9999999-dev http://yiidreamteam.com/yii2/jstree

Yii2 JsTree assets and widget

  Sources   Download

MIT

The Requires

 

yii2 widget jstree

06/01 2015

1.0.0

1.0.0.0 http://yiidreamteam.com/yii2/jstree

Yii2 JsTree assets and widget

  Sources   Download

MIT

The Requires

 

yii2 widget jstree