Topic: TreeView - How to assign an id to every element

Espen Rønning priority asked 1 year ago

I dynamically create a treeview from a database. I need to associate each line in the treeview with its respective record id. How can I accomplish this?

Kamila Pieńkowska staff answered 1 year ago

You cannot add an Id whit JS initiation. You have to add via HTML to add the id.

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.0.0
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No