Any Idea how to make submenu always expanded by default (cannot be collapsed)?

Hey,

I'm new in outsystems, and i'm using sidebar and i'm trying to find the best looking list.. Is it the submenu, if yes.. is it possible to keep it expanded always?

Solution

Hi Ahmad,

In Reactive app default sideMenu layout added.


When you it in your screen you can set there menu Behaviour like above image.


Hope this will help you.

Regards
Rahul Sahu

Solution

Rahul Sahu wrote:

Hi Ahmad,

In Reactive app default sideMenu layout added.


When you it in your screen you can set there menu Behaviour like above image.


Hope this will help you.

Regards
Rahul Sahu

 

 Thank you Rahul!
But what's inside the OnInitialize action, you created it?

Is it possible to change it's width size?

Hi Ahmad, 

OnInitialize action  which used in my CustomDropDown screen so dontworry about it.

Yes, you can change widht according your need.

need to change css

.app-menu-content display-flex {

style propety // which you want

}


Regards

Rahul Sahu

Rahul Sahu wrote:

Hi Ahmad, 

OnInitialize action  which used in my CustomDropDown screen so dontworry about it.

Yes, you can change widht according your need.

need to change css

.app-menu-content display-flex {

style propety // which you want

}


Regards

Rahul Sahu

 

 That was very helpful,
Please look at the attached pictures and .oml as well. I'm really confused :)


Hi Ahmad,

that is not the way to write CSS.

i just provide structure of css.

use below

.app-menu-content display-flex {
  max-width: 70%;
}

to know about css see here

https://www.w3schools.com/css/ 


Regards

Rahul sahu