2017 © Pedro PelĂĄez
 

yii2-extension yii2-fancytree-widget

The yii2-fancytree widget is a Yii 2 wrapper for the [Fancytree](https://github.com/mar10/fancytree). A JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, tables, drag'n'drop, and lazy loading

image

wbraganca/yii2-fancytree-widget

The yii2-fancytree widget is a Yii 2 wrapper for the [Fancytree](https://github.com/mar10/fancytree). A JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, tables, drag'n'drop, and lazy loading

  • Sunday, November 8, 2015
  • by wbraganca
  • Repository
  • 8 Watchers
  • 38 Stars
  • 12,020 Installations
  • PHP
  • 4 Dependents
  • 1 Suggesters
  • 16 Forks
  • 6 Open issues
  • 3 Versions
  • 11 % Grown

The README.md

yii2-fancytree-widget

The yii2-fancytree-widget is a Yii 2 wrapper for the Fancytree. A JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, tables, drag'n'drop, and lazy loading., (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist wbraganca/yii2-fancytree-widget "*"

or add, (*4)

"wbraganca/yii2-fancytree-widget": "*"

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

How to use

On your view file., (*6)


'Node 1', 'key' => 1], ['title' => 'Folder 2', 'key' => '2', 'folder' => true, 'children' => [ ['title' => 'Node 2.1', 'key' => '3'], ['title' => 'Node 2.2', 'key' => '4'] ]] ]; echo \wbraganca\fancytree\FancytreeWidget::widget([ 'options' =>[ 'source' => $data, 'extensions' => ['dnd'], 'dnd' => [ 'preventVoidMoves' => true, 'preventRecursiveMoves' => true, 'autoExpandMS' => 400, 'dragStart' => new JsExpression('function(node, data) { return true; }'), 'dragEnter' => new JsExpression('function(node, data) { return true; }'), 'dragDrop' => new JsExpression('function(node, data) { data.otherNode.moveTo(node, data.hitMode); }'), ], ] ]); ?>

The Versions

08/11 2015

dev-master

9999999-dev

The yii2-fancytree widget is a Yii 2 wrapper for the [Fancytree](https://github.com/mar10/fancytree). A JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, tables, drag'n'drop, and lazy loading

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 fancytree treeview wbraganca yii2-fancytree-widget

08/11 2015

1.0.1

1.0.1.0

The yii2-fancytree widget is a Yii 2 wrapper for the [Fancytree](https://github.com/mar10/fancytree). A JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, tables, drag'n'drop, and lazy loading

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 fancytree treeview wbraganca yii2-fancytree-widget

11/11 2014

1.0.0

1.0.0.0

The yii2-fancytree widget is a Yii 2 wrapper for the [Fancytree](https://github.com/mar10/fancytree). A JavaScript dynamic tree view plugin for jQuery with support for persistence, keyboard, checkboxes, tables, drag'n'drop, and lazy loading

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 widget fancytree treeview