|Dynamic Menu Contribution to PopupMenu [message #1726332]
||Fri, 11 March 2016 13:58
| Andreas Fagschlunger
Registered: June 2011
In my application I already have a PopupMenu which is bound to a NatTable. There is also a feature which contributes MenuItems to this PopupMenu. Now I want to extend this feature to contribute MenuItems dynamically. To be specific, one group of MenuItems, so a sub menu to the existing one.
I've added a "Dynamic Menu Contribution" and the referenced class is called when the popup is about to show or hide.
But now I'm stuck, in the @AboutToShow method I have my list of MMenuElements and don't know how to add a group/sub menu item. I've followed the steps in the following blog post:
Does anyone know how to add a group item to a already existing MPopupMenu?
Powered by FUDForum
. Page generated in 0.01802 seconds