side-nav questions: possible to have subheaders? Possible to start menu uncollapsed?

adept-mobile asked 11 months ago

Example
Is it possible to have a sub-header from material design (see example above) in a MDB side-nav?

Edit: It might also work to use collapsible-header, if the default state could be open.


Is it possible to have the sidenav init as expanded? So instead of .button-collapse, something like .button-expanded?

Thanks!


Bartłomiej Malanowski commented 11 months ago

Do you mean something like this? https://pasteboard.co/GSwChTD.png


adept-mobile commented 11 months ago

Ideally, there would be a static header with the options listed out like in the example where it says "subheader"
https://storage.googleapis.com/material-design/publish/material_v_12/assets/0Bzhp5Z4wHba3RkZGRGhaM3c5ZDg/patterns-navdrawer-metrics1.png

Plan B would be your example, where the submenu defaults to open.

Thank you.


Bartłomiej Malanowski commented 11 months ago

what's the technology you use? PHP, JS? something else? Do you use any framework?


adept-mobile commented 11 months ago

Bootstrap 4, SASS, Ruby on Rails, Jquery


Bartłomiej Malanowski commented 10 months ago

We don't have ready-to-use solution for Ruby, but contact me directly at b.malanowski@mdbootstrap.com. I'd like to take a look at your project


devtrix commented 4 months ago

I have the same issue and want the result you are showing in the above link. Please advise.


Bartłomiej Malanowski commented 4 months ago

devtrix, what's the technology you use?


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No