2017 © Pedro Peláez
 

yii2-extension yii2-tree-dropdown

A dropdown widget containing expandable treeview with checkboxes

image

insperedia/yii2-tree-dropdown

A dropdown widget containing expandable treeview with checkboxes

  • Wednesday, April 19, 2017
  • by insperedia
  • Repository
  • 1 Watchers
  • 3 Stars
  • 69 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 13 % Grown

The README.md

Tree Dropdown

Dropdown with tree or list of checkboxes. This is extension for Yii2 framework., (*1)

Usage

 [
            'item1' => [
                'subitem1',
                'subitem2',               
            ],
           'item2' => [
               'subitem3',
               'subitem4',               
           ],
        ]
    ]
);
?>

OR 

field($model,'regions')->widget(
      \app\widget\DropdownTreeList\DropdownTreeWidget::class,
      [
          'data' => Yii::$app->geography->regions(),
          'id' => 'regions'
      ]
  )
                      
 ?>

The Versions

19/04 2017

dev-master

9999999-dev https://github.com/insperedia/yii2-tree-dropdown

A dropdown widget containing expandable treeview with checkboxes

  Sources   Download

BSD 3-Clause

The Requires

 

extension yii2 widget dropdown checkbox tree