# Power Table Image Display

**URL:** <https://forum.inductiveautomation.com/t/power-table-image-display/33069>\
**Category:** Ignition\
**Created:** [March 13, 2020, 3:14pm UTC](https://forum.inductiveautomation.com/t/power-table-image-display/33069 "2020-03-13T15:14:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![twstevic](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@twstevic](https://forum.inductiveautomation.com/u/twstevic)\
**Post date:** [March 13, 2020, 3:14pm UTC](https://forum.inductiveautomation.com/t/power-table-image-display/33069/1 "2020-03-13T15:14:29Z")

</div>

I have a Power Table that displays a set of Integers, Strings and Datetime values from a SQL Query. I would like to display an icon, based upon the value of the cell in one column. I have a script running in the configureCell function. The code is as follows:

```auto
	if colName == "IG_Alarm_Icon":
		if value == 1:
			return {"iconPath" : "Builtin/icons/16/Red_Bell.png", "text" : ""}

```

The Icon exists, the script runs (I also alternate the background of the rows in the same script), I get no error message.  
There does not seem to be much documentation on the correct use of configureCell. If anyone has an idea, I would be much obliged.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 13, 2020, 4:06pm UTC](https://forum.inductiveautomation.com/t/power-table-image-display/33069/2 "2020-03-13T16:06:58Z")

</div>

3 posts were merged into an existing topic: [Icon Replacing Int value in Table](https://forum.inductiveautomation.com/t/icon-replacing-int-value-in-table/33067)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 13, 2020, 4:06pm UTC](https://forum.inductiveautomation.com/t/power-table-image-display/33069/3 "2020-03-13T16:06:58Z")

</div>


