Hybrid View
-
9 Oct 2009 3:03 AM #1
ComboBox inside menu item
ComboBox inside menu item
Hy Guys
How can insert a combobox inside a menu item?
anyone can help me?
thanks
this code dosen't work...
Code:menu: {ignoreParentClicks: true, items:[{ text: '', handler: function(obj, e){ } },{ xtype:"combo", width:100, listWidth:100, forceSelection: true, store: TypesStore, editable:false, valueField: 'value', displayField: 'name', hideLabel:true, allowBlank:false, typeAhead: true, mode: 'local', triggerAction: 'all' }]}
-
9 Oct 2009 3:12 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
You need to select a different parent for the combobox list, e.g.
(which unfortunately doesn't work on Ext 2, because this feature request was only implemented for Ext 3)Code:{ xtype: 'combo', ... getListParent: function() { return this.el.up('.x-menu'); } }
-
9 Oct 2009 6:36 PM #3
-
22 Nov 2012 2:30 AM #4
Same Problem
Same Problem
I have the same problem when try to insert a trigger field in a menu, i don't understand if in this version i can put it after modify a extjs with some fix.
Otherwise, there is a possibility to show a panel below a button item?
Thanks in advance


Reply With Quote