Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: About tree view attribute and select

ChenQingze priority asked 4 months ago


How can I set an id or other custom attributes to tree view item use JavaScript , and when an item is selected, how can I retrieve the id or custom attribute of the selected item?


Grzegorz Bujański staff answered 4 months ago


Check this snippet: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/6198765#js-tab-view


ChenQingze priority commented 4 months ago

Simple and clear!



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.3.2
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No