Andres ControlGroup Posted March 5, 2019 Share Posted March 5, 2019 Hi, first sorry for my english lvl I'm using the treeview of this example: https://www.w3schools.com/howto/howto_js_treeview.asp and work well but how to set by default all items are expanded? Link to comment Share on other sites More sharing options...
Rickie Posted March 15, 2019 Share Posted March 15, 2019 Are you wanting them to stay expanded or are you looking for them to then be closed by user click? Link to comment Share on other sites More sharing options...
justsomeguy Posted March 15, 2019 Share Posted March 15, 2019 You can just change the elements that have the "nested" class to "active". Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now