HITESH SAHOO Posted November 20, 2019 Share Posted November 20, 2019 Hi Guys, I need help to solve one problem statement - I have created HTML table in textarea and added calculated column whose values are High, Low, Medium. Now, business wants to change backgroud color of tag(refer to attched screenshot) i.e. if High then Red Color, Low then Green Color, Medium then Yellow color. Please note - I dont want to change font, it should be back ground color of table's box. Please let me know if there is any ironPython or JavaScript code that can help me. Thanks in Advance. Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted November 27, 2019 Share Posted November 27, 2019 You can try this javascript which monitors the calculate value and updates the td/span background color on change of value. You may need to modify this as per your requirement of changing background color for specific ids https://spotfired.blogspot.com/2015/01/trigger-javascript-when-changing-filters.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now