# Power Table colors seems to be disabled

**URL:** <https://forum.inductiveautomation.com/t/power-table-colors-seems-to-be-disabled/19880>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [September 28, 2018, 1:55pm UTC](https://forum.inductiveautomation.com/t/power-table-colors-seems-to-be-disabled/19880 "2018-09-28T13:55:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![f.pinciaroli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/f.pinciaroli/32/6101_2.png) [@f.pinciaroli](https://forum.inductiveautomation.com/u/f.pinciaroli)\
**Post date:** [September 28, 2018, 1:55pm UTC](https://forum.inductiveautomation.com/t/power-table-colors-seems-to-be-disabled/19880/1 "2018-09-28T13:55:32Z")

</div>

Hello,  
I have an issue with a power table.  
I changed some colors using the configureCell script function with some code like that:

```auto
    from javax.swing import SwingConstants
	window = system.gui.getWindow('Navigation/Home')
	container = window.getRootContainer()
	data = container.getComponent('Controls').data
	executed = data.getValueAt(rowIndex,7)
	if executed:
		return {'background': 'green',
				'foreground':'white'
				}
	else:
		return {'background': 'white',
		'foreground':'black'
		}

```

The problem comes when I lunch the Client. The colors seems to belong to a Disabled component while the tables is absolutely enabled.  
If I run the preview mode of the page the colors of the table are OK.  
I attach two screenshots to explain it better.

**Client Version**

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/586d06d688210326edf053524cdf6c80ef968c0b.png)

**Preview**

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/101b268aa09c0ba7d43a3340de832adda2722ddd.png)

Thanks,  
Federico.

---

<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:** [September 28, 2018, 2:40pm UTC](https://forum.inductiveautomation.com/t/power-table-colors-seems-to-be-disabled/19880/2 "2018-09-28T14:40:06Z")

</div>

It looks like your table has security settings on it. The Disabled security permission applies after `configureCell` customizations.

---

<div class="post-metadata">

**Author:** ![f.pinciaroli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/f.pinciaroli/32/6101_2.png) [@f.pinciaroli](https://forum.inductiveautomation.com/u/f.pinciaroli)\
**Post date:** [September 28, 2018, 2:52pm UTC](https://forum.inductiveautomation.com/t/power-table-colors-seems-to-be-disabled/19880/3 "2018-09-28T14:52:57Z")

</div>

You where right. I solved managing security permission that where applied after configureCell was called.

Thank you Pgriffith
