Perspective Menu Tree - Select an item with script
l
lionel MAZEYRAT
When we have a perspective menu tree and we use system.perspective.navigate to open a view, we would like to be able to select an item in the menu tree to go to this view to sync the menu tree in this case of navigate from outside the menu tree
Log In
C
Chris Murphy
you can just set the selection property of the menu tree from a script or expression.
If you're saying you are using the 'onitemclicked' event on the tree to navigate, you could use the selection event instead or have a custom property bound to the tree selection with a script transform that navigates to the appropriate view
l
lionel MAZEYRAT
Chris Murphy: the feature is about the menu tree component, not the tree
C
Chris Murphy
lionel MAZEYRAT: apologies, I see what you mean and I agree.