9
Views
1
Comments
Is there a way to set the tab index after taking an action on the same screen?
Application Type
Mobile
Service Studio Version
11.9.1 (Build 33435)

I'm using tabs on my mobile screen. On the same screen I've also got a dropdown box. What I'd like to achieve is getting the tab index to reset to 0 when on downdown box change. 

I've tried using a local variable, TabIndex, for the startingTab in the tab component 

then assigning the variable, TabIndex = 0 on dropdown change but nothing happens visually even though the local variable has changed.  

Is there a way to do this or is this just not supported? 


TIA

mvp_badge
MVP
Rank: #75

Hi Janet,

I think you can achieve the mentioned use-case by using the TabsGoTo client action, which will be defined in the Dropdown OnChange handler action flow. Set the TabNumber = 0


Hope this helps you!


Kind regards,

Benjith Sam