Skip to main content
1-Visitor
December 31, 2020
Question

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

  • December 31, 2020
  • 1 reply
  • 1025 views

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.

1 reply

ranjank1-VisitorAuthor
1-Visitor
December 31, 2020

@Ciprian-Traian ,

 

I am using tree widget and not value display widget.

 

Please suggest some way out for tree widget.