# Highlight table cell based on value

**URL:** <https://forum.inductiveautomation.com/t/highlight-table-cell-based-on-value/102806>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [February 24, 2025, 5:43pm UTC](https://forum.inductiveautomation.com/t/highlight-table-cell-based-on-value/102806 "2025-02-24T17:43:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raef.alawi](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@raef.alawi](https://forum.inductiveautomation.com/u/raef.alawi)\
**Post date:** [February 24, 2025, 5:43pm UTC](https://forum.inductiveautomation.com/t/highlight-table-cell-based-on-value/102806/1 "2025-02-24T17:43:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [February 24, 2025, 5:50pm UTC](https://forum.inductiveautomation.com/t/highlight-table-cell-based-on-value/102806/2 "2025-02-24T17:50:50Z")

</div>

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.

> **[Vision - Power Table Scripting Functions | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/vision-components/tables/power-table/power-table-scripting-functions)**
>
> This page details the various component and extension functions available for Vision's Power Table component.
