1. #1
    Sencha User nadeemshafi9's Avatar
    Join Date
    Mar 2009
    Location
    Bucks, Hearts - UK
    Posts
    192
    Vote Rating
    1
    nadeemshafi9 is on a distinguished road

      0  

    Default adding a toolbar to a grid via grids items and then adding buttons

    adding a toolbar to a grid via grids items and then adding buttons


    hi guys i have defined for the tbar config of my grd a toolbar , that toolbar is successfully added but i cant seem to add buttons to it, there is no config for items or buttons in a toolbar its a variable of the class. This is what i have so far

    Code:
    tbar: new Ext.Toolbar({
                                                                        listeners : {
                                                                            beforerender: function(t) {
                                                                                t.items = [{
                                                                                    xtype: 'button',
                                                                                    text: 'ddd'
                                                                                }]
                                                                            }
                                                                        }
                                                                    }),
    any help thanks

  2. #2
    Ext User
    Join Date
    Apr 2009
    Posts
    6
    Vote Rating
    0
    tahirawan is on a distinguished road

      0  

    Default Adding Buttons in toolbar

    Adding Buttons in toolbar


    to add buttons

    buttons: [{

    text: 'button',

    }]

  3. #3
    Sencha User nadeemshafi9's Avatar
    Join Date
    Mar 2009
    Location
    Bucks, Hearts - UK
    Posts
    192
    Vote Rating
    1
    nadeemshafi9 is on a distinguished road

      0  

    Default


    thanks

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