-
22 Apr 2009 1:59 AM #1
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
any help thanksCode:tbar: new Ext.Toolbar({ listeners : { beforerender: function(t) { t.items = [{ xtype: 'button', text: 'ddd' }] } } }),
-
22 Apr 2009 2:37 AM #2
Adding Buttons in toolbar
Adding Buttons in toolbar
to add buttons
buttons: [{
text: 'button',
}]
-
22 Apr 2009 5:51 AM #3


Reply With Quote