Reputation: 23
I have a tab panel with multiple tabs. Now I want to add a button which will redirect me to a new window on clicking the button in tab Panel. Can someone tell how to do this.
Upvotes: 0
Views: 108
Reputation: 3076
You can add custom button to tabBar
:
tabBar: {
width: '100%',
items: [{
xtype: 'button',
text: "Redirect",
handler: function () {
window.redirect...
}
}]
}
Upvotes: 1