JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Menu & Tree How to get exact path value of an item?


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #111070
    Aditya Prakash

    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,

    Smart UI Team

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.