According to this thread, can someone help me in this, please:
viewtopic.php?f=52&t=66481
Hi Primetek,
I would like to have a p:tieredMenu with many menuItems.
Unfortunately the number of items is too much, therefore I would like to have a maximum height from the menu and than scrolling.
I´ve tried this CSS
Code: Select all
.placeholderMenu.ui-menu.ui-menu-dynamic {
height: 300px;
overflow-y: auto;
}
The first menu is than working as expected, but if I choose one of the menu to get the second menu than I have the problem, that the second menu will never appear.
I´ve tried already:
Code: Select all
<p:commandButton id="placeholderButton" value="Placeholder"
type="button"
icon="fa fa-eyedropper" styleClass="Fs12 White"/>
<p:tieredMenu
model="#{placeholderMenuNotLazyController.findAllPlaceholderByEditor('editorPredefinedTextWidgetVar')}"
overlay="true" trigger="placeholderButton" my="left top"
at="left bottom" styleClass="placeholderMenu" />