Menu item command when the item has children

Hi,
Could you please clarify if it is possible to add Command to menu item of SideMenu if the item has children?
If so, how can it be done?
We need to show some lookup screen and expand child menu items when we click on a menu item.

Hi, unfortunately, currently it’s not possible. There is an issue to refactor menu component to make it more flexible.