# Change border of a power table

**URL:** <https://forum.inductiveautomation.com/t/change-border-of-a-power-table/23564>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [March 25, 2019, 2:01pm UTC](https://forum.inductiveautomation.com/t/change-border-of-a-power-table/23564 "2019-03-25T14:01:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 25, 2019, 2:01pm UTC](https://forum.inductiveautomation.com/t/change-border-of-a-power-table/23564/1 "2019-03-25T14:01:20Z")

</div>

I’m looking for a way to change the border of a powertable…  
ConfigureXXX extension functions only applied to cell and header.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 25, 2019, 2:20pm UTC](https://forum.inductiveautomation.com/t/change-border-of-a-power-table/23564/2 "2019-03-25T14:20:59Z")

</div>

initialize :  
self.border = None

---

<div class="post-metadata">

**Author:** ![dhiraj.pawar](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dhiraj.pawar](https://forum.inductiveautomation.com/u/dhiraj.pawar)\
**Post date:** [January 25, 2023, 3:41am UTC](https://forum.inductiveautomation.com/t/change-border-of-a-power-table/23564/3 "2023-01-25T03:41:05Z")

</div>

Hello, Im using renderer property to make button on power table. Now i want to set border to button "RaisedBevel".

---

<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:** [January 25, 2023, 3:57am UTC](https://forum.inductiveautomation.com/t/change-border-of-a-power-table/23564/4 "2023-01-25T03:57:08Z")

</div>

> [@dhiraj.pawar](#):
>
> using renderer property to make button on power table

Interesting, please share your code; I would like to know how you are doing this. Is this being done with the configureCell extension function?

---

<div class="post-metadata">

**Author:** ![dhiraj.pawar](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dhiraj.pawar](https://forum.inductiveautomation.com/u/dhiraj.pawar)\
**Post date:** [January 25, 2023, 4:28am UTC](https://forum.inductiveautomation.com/t/change-border-of-a-power-table/23564/5 "2023-01-25T04:28:54Z")

</div>

Hi,  
yes, Im doing this using configure Cell extention function  
, also im able to change colour but now i have to improve UI. so I have to set different border for button.

Please check below code & let me know if suggestion

if colName == "Details":   
from javax.swing import JButton  
from java.awt import Color  
Button= JButton("Details")  
Button.setBackground(Color.orange);  
Button.setForeground(Color.red);  
return { 'renderer' : Button}
