First, there must be a tbar object
in Ext.grid.GridPanel and then add listeners: {
'render': function() {
bbar2.render(this.tbar); // add one tbar
//twoTbar.render(this.tbar); //add two tbar
// threeTbar.render(this.tbar); //add three tbar
}
}
You can see that there is bbar2 here so you can add a lot of bars