# Power table changing border line color

**URL:** <https://forum.inductiveautomation.com/t/power-table-changing-border-line-color/70570>\
**Category:** Ignition\
**Tags:** scripting, ignition81, vision\
**Created:** [March 3, 2023, 12:39am UTC](https://forum.inductiveautomation.com/t/power-table-changing-border-line-color/70570 "2023-03-03T00:39:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 3, 2023, 12:42am UTC](https://forum.inductiveautomation.com/t/power-table-changing-border-line-color/70570/2 "2023-03-03T00:42:53Z")

</div>

Here is a tutorial I made previously in the forum that explains how to do this:

> [@Vision Power Table - Add columns border with configureEditor()](https://forum.inductiveautomation.com/t/vision-power-table-add-columns-border-with-configureeditor/67607/3):
>
> I found a few moments this morning to adapt the above suggestion into my test table. 
> 
> > **Here is the sample code:**
> >
> > def configureCell([...]): from javax.swing import BorderFactory from java.awt import Color if rowIndex == 0 and colIndex == 0: border = BorderFactory.createMatteBorder(8, 8, 1, 4, Color(255, 255, 255)) elif rowIndex == (self.data.rowCount-1) and colIndex == 0: border = BorderFactory.createMatteBorder(1, 8, 8, 4, Color(255, 255, 255)) elif rowIndex == 0 and colIndex == (self.data…

---

_[View the full topic](https://forum.inductiveautomation.com/t/power-table-changing-border-line-color/70570)._
