cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement an on off toggle button in thingworx, so that when the data comes as off the toggle button should focus on off.

Highlighted
Newbie

How to implement an on off toggle button in thingworx, so that when the data comes as off the toggle button should focus on off.

How to implement an on off toggle button in thingworx. when the button receives the data as off or 0 it should focus on off.

1 REPLY 1

Re: How to implement an on off toggle button in thingworx, so that when the data comes as off the toggle button should focus on off.

Hi ,

You can use the radio button widget and add State definition to it as 0 and 1 for ON and OFF respectively , you can add style as well

for the selected value of radio widget , then you bind your value 0 or 1 to radio button widget on any event or mashup load it will show

the selected value as ON or OFF . You can make it read only as well if you do not want user to change the current state of button(ON/OFF)

Hope this helps ...!

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________