menu keeping all items expanded

Post Reply
Posts: 70
Joined: 21 Jul 2015, 07:43

14 Jan 2019, 15:32

Hi Aragorn,

I notice in my menu (DynamicMenuModel) having subMenu :
for example :
- subMenu1
- item 1
- item 2
- submenu2
-item 4
that expanding one subMenu will collapse the other one.

Is there any possibilities to keep all subMenus expanded at the same time ?

Kindest regards !

User avatar
Posts: 3351
Joined: 29 Jun 2013, 12:38

15 Jan 2019, 11:25


You can remove the following line in layout.js;

Code: Select all

$this.deactivateItems(item.siblings(), true); //line 194
Best Regards,

Posts: 70
Joined: 21 Jul 2015, 07:43

17 Jan 2019, 19:33

Hi Aragron,
work fine for the expandes submenus, but just a small side effect :

before commenting out the line, only the last selected Item had i'ts background and foreground colors changed to highlight it.
Now : when I select one item, previous selected one's stay with the background/foreground colors of the selected item, leading to some strage visual aspect ...
How can I the best of the 2 : subItem staay expanded and only the current selected item Highlighted ?

Kindest regards

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: RueKow and 1 guest