nadeemshafi9
22 Apr 2009, 1:59 AM
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
tbar: new Ext.Toolbar({
listeners : {
beforerender: function(t) {
t.items = [{
xtype: 'button',
text: 'ddd'
}]
}
}
}),
any help thanks
tbar: new Ext.Toolbar({
listeners : {
beforerender: function(t) {
t.items = [{
xtype: 'button',
text: 'ddd'
}]
}
}
}),
any help thanks