1. #1
    Ext User
    Join Date
    Jun 2009
    Posts
    24
    Vote Rating
    0
    anystrike is on a distinguished road

      0  

    Question 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'
                        }]}

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    You need to select a different parent for the combobox list, e.g.
    Code:
    {
      xtype: 'combo',
      ...
      getListParent: function() {
        return this.el.up('.x-menu');
      }
    }
    (which unfortunately doesn't work on Ext 2, because this feature request was only implemented for Ext 3)

  3. #3
    Ext User
    Join Date
    Jul 2008
    Location
    China
    Posts
    74
    Vote Rating
    0
    joehebe is on a distinguished road

      0  

    Default


    try Ext.menu.CheckItem

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    29
    Vote Rating
    0
    mimmo.rossi73 is on a distinguished road

      0  

    Default 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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar