Triggering menu dropdown?

Is there a way to trigger the dropdown of a menu by an outside event?

Here’s an example: https://webix.com/snippet/cb4f3868

https://webix.com/snippet/0e33f470

Thank you! that took a while to figure out!

Is there a way to trigger the second submenu? I’ve tried a number of things, but nothing is working for me.

https://webix.com/snippet/f124956f

@intregal, big thank you again! Can you tell me why
id = menu.getLastId()
wouldn’t work in this situation?

Either way, thank you for this.

getLastId works, but last item does not contain a submenu, therefore it will not open a dropdown.