-
Creating a Menu When a Titlebar Icon is Pressed
Creating a Menu When a Titlebar Icon is Pressed
I have a titlebar that contains an icon. When the icon is pressed I want to display an Ext.menu.Menu.
I have a handler for the icon:
handler: function(e, target, panel)
The question I have is how do I display the menu at this point?
Also, is it possible to associate the Menu at the window creation time so I would not even need a handler?
Any suggestions would be appreciated.
Thanks,
-
Sencha - Community Support Team
yourMenu.showAt(e.getXY());
-
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us