Skip to main content
13-Aquamarine
December 20, 2023
Solved

Dynamically changeing tab of tab widget not triggering tab selection

  • December 20, 2023
  • 1 reply
  • 797 views

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



Best answer by Velkumar

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
December 21, 2023

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