Skip to content

lav45/yii2-jstree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-jstree

Widget for Yii Framework 2.0 to use JsTree

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads Latest Unstable Version License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist lav45/yii2-jstree "1.0.*"

or add

"lav45/yii2-jstree": "1.0.*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

use lav45\widget\JsTree;

<?= JsTree::widget([
	'clientOptions' => [
		'core' => [
			'data' => $data
			// ...
		],
		'plugins' => ['types', 'dnd', 'contextmenu', 'wholerow', 'state'],
		// ...	
	]
]); ?>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages