Skip to main content
5-Regular Member
July 4, 2017
Solved

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

  • July 4, 2017
  • 1 reply
  • 2656 views

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

Best answer by katte

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

1 reply

katte5-Regular MemberAnswer
5-Regular Member
July 5, 2017

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

1-Visitor
March 5, 2018

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