Martin Vandzura
Martin Vandzura

Reputation: 3127

Show new view in Ext.tab.Panel

I have Ext.tab.Panel with few items. One item is login panel of type Ext.form.Panel.From controller I call Ext.Ajax.request to login. From callback method i would like to show new view(logged in). I mean on the same tab replace tab content login form view with new view (Ext.List/Ext.Panel)

Can someone guide me how to make it? I did't found correct functions in Ext.tab.Panel docs. Thanks

Upvotes: 1

Views: 1649

Answers (1)

Jay
Jay

Reputation: 3531

setActiveItem method for TabPanel (http://docs.sencha.com/touch/2-0/#!/api/Ext.tab.Panel)

Upvotes: 1

Related Questions