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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

2D Label and Value Display widgets support State-based formatting using ThingWorx State and Style definitions

agangaiah
14-Alexandrite

2D Label and Value Display widgets support State-based formatting using ThingWorx State and Style definitions

Hello,

Wanted to know how we can achieve Value Display widgets support State-based formatting using ThingWorx State and Style definitions in Thingworx Studio.


If there is any documents/links shared in this regards would be really helpful.


Thanks,

Avinash

ACCEPTED SOLUTION

Accepted Solutions
katte
12-Amethyst
(To:agangaiah)

Avinash Gangaiah​ The Style definition feature is partly related to ThingWorx entities and depends on work from Thingworx. The steps to add style definitions are:

  • Add 'Data Grid' widget in Studio, bind the widget with the desired ThingWorx data (infotable) and Select the data columns to be visible
  • Create a style definition in ThingWorx platform.
  • In ThingWorx Studio, click on Data Grid widget's 'State Definition' (edit) button that will show a list of style definitions in the dialogue box
  • Select the desired 'Style Definition'

Let me know if that doesn't work.

-Giri

View solution in original post

2 REPLIES 2
katte
12-Amethyst
(To:agangaiah)

Avinash Gangaiah​ The Style definition feature is partly related to ThingWorx entities and depends on work from Thingworx. The steps to add style definitions are:

  • Add 'Data Grid' widget in Studio, bind the widget with the desired ThingWorx data (infotable) and Select the data columns to be visible
  • Create a style definition in ThingWorx platform.
  • In ThingWorx Studio, click on Data Grid widget's 'State Definition' (edit) button that will show a list of style definitions in the dialogue box
  • Select the desired 'Style Definition'

Let me know if that doesn't work.

-Giri

For 2D State definition will work only at the time of page load not at run-time.

But for 3D state definition is not working

Announcements

Top Tags