- This topic has 1 reply, 2 voices, and was last updated 4 months, 3 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Menu & Tree › How to get exact path value of an item?
Tagged: menu
When I tried to get a path of an item for example: if path is showing path: “0.1.0” then when we tried to display a value of path it will display “0.2” everytime.What to do?
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/