View Full Version : Can I use Ext.Menu to create a list of options on left/right click?

24 Jul 2009, 7:08 AM
Hi ExtJS -
When an user clicks (left-click) on a particular component in my application, I want a small list to show up: Open, Edit, Delete. Then, the user will select one of the 3 options and the appropriate action will be taken in my application.

Can this be achieved by creating a Ext.menu on "onclick"?


30 Jul 2009, 8:47 AM
you show the menu at the event coordinates or anchor it to an element.

Either way, you should to setup the event handler at the component for which you want to listen for the click event.