search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler ContextMenu Scrolling

Asked by Davide
2 years ago.

Hi,
I've a context menu with a lot of items (a very long list).
Is it possible to set a maximum height of a menu? So, if the items number is too large to make them visibile into the fixed height, a scrollbar appears.

Thank you
Davide

Comment posted by Dan Letecky [DayPilot]
2 years ago.

Unfortunately, an automatic scrollbar not supported at the moment. The only solution would be to split the menu into several segments using submenus.

Answer posted by Davide
2 years ago.

Thank you for your answer.
I've found a my solution putting the following code into css file:

.menu_default_main {position: absolute;
top: 0px;
left: 450px;
overflow: auto !important;
z-index: 11;
max-height: 300px;}

The result is good!

Comment posted by Dan Letecky [DayPilot]
2 years ago.

Great, thanks for posting your solution!

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.