I’m new at Extjs and I’m trying to find a way to switch between panels according to user click.
when user click on Button 1, panel 1 should appear
when user click on Item 1, panel 2 should appear
when user click on Item 2, panel 3 should appear
can’t get it work. I’m not sure how to use ‘setActiveItem’ and make the panels switch correctly
Change your control() references as