JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Menu & Tree › How to get exact path value of an item? › Reply To: How to get exact path value of an item?
June 29, 2024 at 5:11 am
#111071
Markov
Keymaster
Hi Aditya,
The 0.1.0 you refer means first level – index 0, sub level – index 1, sub sub level – index 0 which is the path of the item in the menu’s hierarchical structure.
As for getting a value, you can use the ‘itemClick’ event of the Menu. In the event.detail, there is label and value properties for getting the clicked menu item’s label and value.
Best regards,
Markov
Smart UI Team
https://www.htmlelements.com/