dev-master
9999999-dev https://github.com/andrtechno/wgt-jstreeWidget JsTree
MIT BSD 3-Clause
The Requires
by CORNER CMS
extension form widget jstree corner-cms
Widget JsTree
Widget for Yii Framework 2.0 to use JsTree, (*1)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer require --prefer-dist panix/wgt-jstree "*"
or add, (*5)
"panix/wgt-jstree": "*"
to the require section of your composer.json
file., (*6)
Once the extension is installed, simply use it in your code by :, (*7)
<?= \panix\ext\jstree\JsTree::widget([ 'attribute' => 'attribute_name', 'model' => $model, 'core' => [ 'data' => $data //... ], 'plugins' => ['types', 'dnd', 'contextmenu', 'wholerow', 'state'], //... ]); ?>
<?= \panix\ext\jstree\JsTree::widget([ 'core' => [ 'data' => $data //... ], 'plugins' => ['types', 'dnd', 'contextmenu', 'wholerow', 'state'], //... ]); ?>
Widget JsTree
MIT BSD 3-Clause
extension form widget jstree corner-cms