Custom picker field with menu
I'm trying to create my own field type which extends Ext.form.field.Picker.
In the createPicker() method I create a menu that will be used as the picker.
The menu has 2 levels (submenu). I'm having problems with the menu items in the second level - I can't add event handlers on them. No matter what I try the menu always closes when I interact with the submenu, and no events are fired. There are no such problems with the main menu (first level), I guess there is some event that needs to be stopped but I can't seem to find it... :(
P.S the submenu is a panel component, not a regular menu item - but it doesn't work neither with regular items.
Any ideas what can this be?
Thanks in advance for your help!