Highlight table cell based on value

I have a table in Ignition Vision that displays process data. I want to highlight cells in this table that are outside of our optimal process range. What is the easiest way to do this?

I noticed the "Background Color Mapping" function, but I have a few problems with this:

  • This highlights the entire row instead of one cell
  • Only integer values can be selected
  • Only one column can be used to control color mapping

Use a power table and use the configureCell function to change background color. Keep in mind this function runs for EVERY CELL. Keep it simple. If you need to load limits, load them into a custom property on the table and reference that from the function.

3 Likes