Stephen
(Shaffer Steve)
#1
Maybe someone can point me in the right direction - How would I have the “Applications” menu auto expand from a collapsed state after logging in?
I would like to save my users from the extra click to access menu options if possible.
Thanks
(Love the software btw)
gorelov
(Gleb Gorelov)
#3
Hi,
You can extend Main Screen and expand menu items you want, e.g.:
sideMenu.getMenuItems().forEach(menuItem ->
menuItem.setExpanded(true));
Alternatively, I would recommend instead of expanding menu items by default, move them from sub menu, e.g.:
<menu-config xmlns="http://schemas.haulmont.com/cuba/menu.xsd">
<item screen="sales_Product.browse" insertBefore="administration"/>
<item screen="sales_Customer.browse" insertBefore="administration"/>
<item screen="sales_Order.browse" insertBefore="administration"/>
</menu-config>
Regards,
Gleb
1 Like
Stephen
(Shaffer Steve)
#5
I appreciate the assist. Thank you!