A MenuBar named as CustomMenuBar and MenuItems are having close/remove button.
CustomMenuBar MenuItems known as CustommenuItem are having close button.
To achieve the close/remove functionality user has to fire setClosable(true); to the CustomMenuItem.
Every CustomMenuItem are having ItemClickListener.
To achieve ItemClick functionality user has to fire setItemClickable(true); to the CustomMenuItem.
By default the removing of MenuItem will not work.
User has to remove or do some stuff on the close click event.
A ItemCloseClickListener is available to achieve the close click event.
MenuBar can be used to have the multiple nativeselect component.
Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.
Over the MenuItem(CustomMenuItem) 1 methods added..
setCheckAll(boolean) : Param "true", if the item will be used as a checkAll button.
- Apache License 2.0
- Vaadin 7.3+
- Browser Independent