# Power table row and cell gradient coloring

**URL:** <https://forum.inductiveautomation.com/t/power-table-row-and-cell-gradient-coloring/75754>\
**Category:** Ignition\
**Tags:** ignition81, vision, scripting\
**Created:** [June 30, 2023, 4:01am UTC](https://forum.inductiveautomation.com/t/power-table-row-and-cell-gradient-coloring/75754 "2023-06-30T04:01:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [July 25, 2023, 10:34am UTC](https://forum.inductiveautomation.com/t/power-table-row-and-cell-gradient-coloring/75754/6 "2023-07-25T10:34:16Z")

</div>

> [@justinedwards.jle](#):
>
> The script does not work with a boolean column, although it could if it were developed further to draw the checkbox

I have developed a way for a separate problem that would work for the Boolean columns in this problem. The code has been posted here:

> [@\[IGN-6531\]The check-mark box is not visible (it is transparent) in ignition version 8.1.17](https://forum.inductiveautomation.com/t/ign-6531-the-check-mark-box-is-not-visible-it-is-transparent-in-ignition-version-8-1-17/63435/18):
>
> Recently, I was messing around with [painting the cells of a power table a gradient color](https://forum.inductiveautomation.com/t/power-table-row-and-cell-gradient-coloring/75754/4), and the process gave me an idea on an alternative approach to this old problem. Combining what I learned painting the gradient cells and [code I had previously developed for changing the checkbox size on the alarm status table](https://forum.inductiveautomation.com/t/alarm-table-checkbox-size/67665/2), I was able to produce this work around using the configureCell extension function: The code checks each column to see if the column class is Boolean. If not, it colors the…

> [@justinedwards.jle](#):
>
> Also, it exhibits some unexpected behavior if auto row height is selected.

Also, I was able resolve this issue in the above example by simply subtracting a small margin from the cell rectangle dimensions.

---

_[View the full topic](https://forum.inductiveautomation.com/t/power-table-row-and-cell-gradient-coloring/75754)._
