Move to specific tab programmatically

Hi guys,
I need to move a specific index tab programmatically. In my app I have side menu and bottom tabs. Is it a problem?

I have
public navCtrl: NavController

and invoke
this.navCtrl.parent.select(0);

but select method doesn’t exist.

Help me please

I have never yet seen a use of parent that I felt comfortable with. See this post for an alternative.

1 Like

It works but I lost the menu icon on header bar. Have you an advice for me?

this.navCtrl.setRoot("TabsPage", {opentab: 0});

TabsPage is my First Tab Page

Thanks