File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11yii2-bootstrap-tree
22===================
3- Виджет основfный на [ bootstrap-treeview] ( https://github.com/jonmiles/bootstrap-treeview )
3+ Widget for [ bootstrap-treeview] ( https://github.com/jonmiles/bootstrap-treeview )
44
55Installation
66------------
@@ -33,12 +33,14 @@ Once the extension is installed, simply use it in your code by :
3333 'id'=>'treeview-tabs'
3434 ],
3535 'options'=>[
36- 'data'=>$items,
36+ //https://github.com/jonmiles/bootstrap-treeview#options
37+ 'data'=>$items, // $items structure https://github.com/jonmiles/bootstrap-treeview#data-structure
3738 'enableLinks'=>true,
3839 'showTags'=>true,
3940 'levels'=>3
4041 ],
4142 'events'=>[
43+ //https://github.com/jonmiles/bootstrap-treeview#events
4244 'onNodeSelected'=>'function(event, data) {
4345 // Your logic goes here
4446 alert(data.href);
You can’t perform that action at this time.
0 commit comments