Topic: MDB Treeview questions
I would have 4 questions.
Is there any comprehensive documentation about the treeview component, eg. classes, options that are available?
How can I get in my JS script the items in the tree that a user clicked on?
How can I make the tree to be expanded by default (or the first level expanded, the second not)?
Can I pass the tree as a JS array, or only as HTML?
All documentation we have is available on our website.
Could I ask for a link?
You need to add click event listeners to them.
Oh, yes, I asked my question wrongly. By default only one element in the tree can be chosen. My question is, how to read, which one is it.
And additional question: in some branches I need ability to do multiple choice, and in others ability to chose just one within a single branch (with one already chosen by default). So one within a single branch, but there could be eg. 5 different branches, then in total 5 selections. How can that be done?
Services & Consulting
Hire our experts to help you design or build a dedicated project.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.19.1
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No