TreeView - How to assign an id to every element


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

Espen Rønning pro premium priority asked 2 years 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?


kpienkowska staff answered 2 years ago

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


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: Pro
  • 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
Tags