1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
    willyaguirre is on a distinguished road

      0  

    Default Problem with splitbutton

    Problem with splitbutton


    Have a look please

    http://pastebin.com/bmjDtK26

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
    willyaguirre is on a distinguished road

      0  

    Default Problem with splitbutton

    Problem with splitbutton


    Have a look please

    http://pastebin.com/bmjDtK26

  3. #3
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi
    Try the following Code.

    You just need to define menu config of the split button rather than items of split button(that I saw in your example(http://pastebin.com/bmjDtK26).

    Code:
    Ext.create('Ext.button.Split', {
        renderTo: Ext.getBody(),
        text: 'Options',
        // handle a click on the button itself
        handler: function() {
            alert("The button was clicked");
        },
    	menu: new Ext.menu.Menu({
    		width: 120,
    		items: [
    			{
    				xtype: 'menuitem',
    				text: 'Menu Item'
    			},
    			{
    				xtype: 'menuitem',
    				text: 'Menu Item'
    			},
    			{
    				xtype: 'menuitem',
    				text: 'Menu Item'
    			}
    		]
    	})
    });
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread

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..."