The PTC Community email address has changed to firstname.lastname@example.org. Learn more.
I want to change text colors of tree widget elements based on different conditions.
The tree is created based on infotable which is output of a service.
Need to add logic on service to change the text colors, Are there any way to achieve this ?
Is it possible to add state definition on service ?
You can try to use the custom class property on the widget and setup different condition on the custom csshttps://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Mashups/MashupCustomClassProperty.htmlhttps://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Mashups/CustomCSSTutorial.htmlHope this helpsThanks
Use "TreeFormatter" widget property with statedefinitions to change the font/bg color based on the infotable field value.