Topic: Treeview -how to decleratively set the active -selected item
How can we set the active item in the list of items ? So that when the treeview is rendered the specific list item is expanded and focused (as if user clicked on it) I tried setting the active class on the list item but did'nt work.
You can expand your treeview to the particular list using the expand(ID) method.
what does the treeview.filter method do ? maybe that can be used to set a custom condition and expand to the list item that has class="active" ?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: windows desktop
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: Yes