Bootstrap treeview how auto expand parent nodes?
I am using bootstrap treeview which is mostly working well, however when I load a new page from the menu link I want all the parent nodes of the selected child node to expand, does anyone know how to do this? Thanks, Rob Here is some code... This is the array that is coming from my database and works fine in showing all the treeview items... If you look at id 127 in the array you will notice that 'expanded' for the child is true "state": { "checked": false, "disabled": false, "expanded": true, "selected": true } But all the parent nodes of this child are set as false by default as these are no
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.