why there is a limitations for menu , Items with subitems cannot have an action themselves?

0
Hi Team, Is there a specific reason why Mendix has restricted adding actions or on-click events to first-level menu items if there are second- or third-level submenus?
asked
2 answers
0

Hi Zia,

 

Mendix only allows two levels of menu, and you cannot have a sub-menu that is level 3.

image.png

Depending on the widget a number of levels are allowed.

please refer Menu

 

Hope it helps!

Thanks & Regards,

Manikandan K

answered
0

Hi Zia,

 

It seems like you want to perform two actions on single button click:

1. Open a page 

2. Open the sub menu

 

As of now, Mendix does not support that. Mendix assumes that, if there are children of a menu, then click on that menu the only expected action is to expand the sub items, so it does not allow to configure any action on the parent item. As per UX/UI, the scenario you are trying to achieve, can only be expected if the menu is static and always expanded, that can only be achieved with custom css. 

answered