Is there a way to expand a TreeView when it is displayed?


Topic: Is there a way to expand a TreeView when it is displayed?

MarkLevey asked 5 years ago

When a tree view opens is there a command that allows the treeview to be expanded by default?


dowebs pro commented 4 years ago

use class active to make it expanede by default <ul class="nested active">


Mateusz Łubianka staff answered 5 years ago

Hi @MarkLevey,

Like you can see in the treeview docs: https://mdbootstrap.com/plugins/jquery/treeview/ there is no command that allows the treeview to be expanded by default.

Best,


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: Windows
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No