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

Assigning dynamic style to the nodes of a network displayed over a tree widget in mashup

ranjank
14-Alexandrite

Assigning dynamic style to the nodes of a network displayed over a tree widget in mashup

Hi Team,

 

Suppose I want to set the below components of Style definitions dynamically using some service :-

 

-Background Color
-Secondary Background Color
-Foreground Color
-Font Bold
-Font Italic
-Font Underline
-Line Color

-Line Thickness
-Line Style
-Text Size

 

so that the style definitions set in the state definitions will get applied to different nodes of tree.

 

Can somebody help me with the logic of updating style definitions dynamically.

 

Also let me know, if I am having a button to reset the style, then what will be the logic?

 

My ThingWorx version is 8.3.

 

Thanks in advance.

2 REPLIES 2
ranjank
14-Alexandrite
(To:Ciprian-Traian)

@Ciprian-Traian ,

 

I am using tree widget and not value display widget.

 

Please suggest some way out for tree widget.

Top Tags