1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Pune, India
    Posts
    78
    Answers
    5
    Vote Rating
    0
    Pravin.Pawar is on a distinguished road

      0  

    Default Answered: Input text and Button within Menu

    Answered: Input text and Button within Menu


    Hi,

    I want to show Input text with Button within ExtJS menu control. Please let me know how can I add controls within ExtJS Menu.

    Thanks, Pravin
    Thanks, Pravin

  2. Try this:
    Code:
    Ext.onReady(function(){
        Ext.create('Ext.menu.Menu', {
            width: 170,
            height: 170,
            floating: false,
            renderTo: Ext.getBody(),
            items: [{
                xtype: 'menucheckitem',
                text: 'Option 1',
                checked: true
            },{
                xtype: 'menucheckitem',
                text: 'Option 2'
            },{
                xtype: 'container',
                layout: 'hbox',
                items: [{
                    xtype: 'textfield',
                    width: 100
                },{
                    xtype: 'button',
                    text: 'Click Me'
                }]
            }]
        });
    });

  3. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    346
    Vote Rating
    113
    vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all

      0  

    Default


    Try this:
    Code:
    Ext.onReady(function(){
        Ext.create('Ext.menu.Menu', {
            width: 170,
            height: 170,
            floating: false,
            renderTo: Ext.getBody(),
            items: [{
                xtype: 'menucheckitem',
                text: 'Option 1',
                checked: true
            },{
                xtype: 'menucheckitem',
                text: 'Option 2'
            },{
                xtype: 'container',
                layout: 'hbox',
                items: [{
                    xtype: 'textfield',
                    width: 100
                },{
                    xtype: 'button',
                    text: 'Click Me'
                }]
            }]
        });
    });

  4. #3
    Sencha User
    Join Date
    Aug 2012
    Location
    Pune, India
    Posts
    78
    Answers
    5
    Vote Rating
    0
    Pravin.Pawar is on a distinguished road

      0  

    Default


    This will help me... thanks for yor time and help.
    Thanks, Pravin

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi