chniter / bstreeview

Bootstrap Treeview, A very simple plugin to build a basic and elegant Treeview with bootstrap 4. See the demo:
https://chniter.github.io/bstreeview/
Apache License 2.0
369 stars 53 forks source link

Add the ability to specify whether a node should be initially expanded #23

Open rsvilenov opened 3 years ago

rsvilenov commented 3 years ago

First of all, thank you for the library!

This change allows the developer to chose whether a tree node should be expanded when the tree is initially shown. In order to do that do that, the developer should specify "expanded: true" in the JSON definition for the node.