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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Set State Value dynamically using text box

pradhan
5-Regular Member

Set State Value dynamically using text box

Hi There,

           i am looking for a service/snippet , when i give a input to it from mashup (number/Text box) i should be able to set state value, using which i will change style dynamically. 

           Do we have something like that which can help me here.

         Any Solution/Suggestion will be appreciated.

 

Thanks & Regards,

Pravin Pradhan

 

2 REPLIES 2
posipova
20-Turquoise
(To:pradhan)

You could look into state formatting. The style would change based on the value defined. Refer to State Definition here: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FComposer%2FVisualization%2FStyleandStateDefinitions.html

pradhan
5-Regular Member
(To:posipova)

Hi ,

         Thanks for solution, yes that is what i was looking for but it solves my half the problem, 

as selecting State for RowFormat can be applied on a row depending on single columns value only and in my case i want to apply dynamic state value on multiple columns.

           if i go with the configuration of TreeGridAdvance i can manage to apply state for All columns separately,

but in that case i will not be able to set State Value dynamically i believe.

 

Regards

Pravin Pradhan

Top Tags