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
    109
    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

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