TreeView customization


Topic: TreeView customization

Adrian Ghita asked a year ago

Hello!

  1. TreeView node icon - It would be nice to be possible to add an icon to each tree view node. Is there support for this or any way in which I can achieve this?

  2. Option to enable the following behavior: clicking on a node label should toggle the checkbox. Any chance I could achieve this behavior?

Thank you for you help, Adrian


  1. Currently it's not possible, because the HTML structure of the node is automatically generated by the component. We will discuss this feature with our design team and consider implementing it in the future.

  2. We currently use the label click to expand a node if [toggleOnTitleClick] option is set to true, so it's impossible to use the same functionality for checkboxes.


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags