Reputation: 1206
I would like to deactivate tabs in the tabbar, but I didn't find any method or config property in Sencha docs http://docs.sencha.com/ext-js/4-0/#!/api/Ext.tab.Panel.
beforetabchange
event and prevent it if some data was modified.What am I waiting for:
beforetabchange
handlerThanks a lot for a help.
Upvotes: 0
Views: 1725
Reputation: 17860
One of tabs will be selected. You can control which one by using activeItem, activeTab properties. Are you trying to create a tab panel without selected item at all?
Upvotes: 0