PDA

View Full Version : Really easy question: programmatically change tabs



epalm
6 Jul 2010, 11:50 AM
I'd like to do something like tabpanel.setActiveItem(3) but no such function exists. How can this be, considering there's an activeItem config property, and a getActiveItem() function?

What's the standard way for someone to move through your application?

TommyMaintz
6 Jul 2010, 1:38 PM
On any container with a card layout you can change the card using container.setCard(newcard, [animation]);