31 May 2011 9:43 AM #1
Itemclick Event lost from the Ext.menu.Menu in Ext 4.0.1?
I was about to add a listener to my menu's itemclick Event when I noticed the menu no longer has an itemclick event. Is this an oversite?
If not, is there a way to listen to any menu items selection is made? Without adding click listeners to each individual child options...
31 May 2011 1:56 PM #2
click( Ext.menu.Menu menu, Ext.Component item, Ext.EventObject e )
Hope this helps.
31 May 2011 2:50 PM #3
The click event coupled with the ignoreParentClicks: true on the menu definition has met my needs. In Ext 3.x, I would return false on the itemclick event and that would allow the menu to stay open. However, with the click event now instead of the itemclick event, returning false does not appear to be keeping the menu open.