# Power Table, configureCell, iconPath on a boolean column

**URL:** <https://forum.inductiveautomation.com/t/power-table-configurecell-iconpath-on-a-boolean-column/26626>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [July 17, 2019, 2:42pm UTC](https://forum.inductiveautomation.com/t/power-table-configurecell-iconpath-on-a-boolean-column/26626 "2019-07-17T14:42:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joel.golinucci](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joel.golinucci/32/9927_2.png) [@joel.golinucci](https://forum.inductiveautomation.com/u/joel.golinucci)\
**Post date:** [July 17, 2019, 2:42pm UTC](https://forum.inductiveautomation.com/t/power-table-configurecell-iconpath-on-a-boolean-column/26626/1 "2019-07-17T14:42:12Z")

</div>

I have a power table with a boolean column, and I want to replace the boolean value (initially represented as a checkbox) by the image of a lock when True, and empty when False.

This is the original look:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/5772863daff77a48f14364965c35edf582e89fe4.png)

With the original code:

```auto
def configureCell(self, value, textValue, selected, rowIndex, colIndex, colName, rowView, colView):
	if colName == "Verr.":
		if value:
			return {"iconPath" : "Builtin/icons/32/lock.png", "text" : ""}
		else:
			return {"text" : ""}

```

But it seems that I cannot interact in any way with a boolean cell (I tried changing the background color, it works for any other cell type, but the look of the boolean checkbox remains the same)

So I managed to do the trick by casting the column on the dataset to string, and testing in configureCell if value == “True”, but I find it quite awfull. Is there a nicer way of doing it ?

(Here is the expected result):  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9b07bf6c416d1adb7a96e4f52ee26e236a8fc145.png)
