Skip to main content
13-Aquamarine
Dec 20, 2023 3:53 PM UTC
Solved

Dynamically changeing tab of tab widget not triggering tab selection

Hi,

I have a mashup with two tabs. Despite setting the selected tab via an expression the other tab will not be selected, it seems like only the default tab can be selected via that event.

When using the tab widget, despite setting the selectedTabValue to a number corresponding to the tab, the selected tab does not change, could someone provide an example of how to programatically change tab (with the correct bindings)?

Kindly
Oskar Berntorp



VelkumarAnswer
19-Tanzanite
Dec 21, 2023 5:26 AM UTC

Hi @oskarberntorp 

 

SelectedTabValue should be Tab Value not corresponding Tab Number.

 

You should pass TabValue from your expression

 

Velkumar_0-1703136214732.png

 

Velkumar_1-1703136277209.png

Velkumar_2-1703136324026.png

 

Velkumar_3-1703136347013.png

 

/VR

1 reply

Velkumar19-TanzaniteAnswer
19-Tanzanite
Dec 21, 2023 5:26 AM UTC

Hi @oskarberntorp 

 

SelectedTabValue should be Tab Value not corresponding Tab Number.

 

You should pass TabValue from your expression

 

Velkumar_0-1703136214732.png

 

Velkumar_1-1703136277209.png

Velkumar_2-1703136324026.png

 

Velkumar_3-1703136347013.png

 

/VR

Translate