# Power Table border/extra space

**URL:** <https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331>\
**Category:** Ignition\
**Created:** [November 12, 2014, 9:59pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331 "2014-11-12T21:59:15Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mduncan77](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@mduncan77](https://forum.inductiveautomation.com/u/mduncan77)\
**Post date:** [November 12, 2014, 9:59pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/1 "2014-11-12T21:59:15Z")

</div>

There is a field border around the power table and I am wondering how to get rid of that.

Also, can I change the background color of it to be black? I am using the power table as a dynamic table and the height of it varies. I have it at a set height and when there are not enough rows to fill up the whole height, the extra space is white.

Thanks!

---

<div class="post-metadata">

**Author:** ![jlteel](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@jlteel](https://forum.inductiveautomation.com/u/jlteel)\
**Post date:** [January 8, 2015, 9:00pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/2 "2015-01-08T21:00:36Z")

</div>

Did you ever get an answer to this because I have the same question?

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [January 12, 2015, 5:20pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/3 "2015-01-12T17:20:11Z")

</div>

[code]from java.awt import Color

event.source.parent.getComponent(‘Power Table’).border = None

event.source.parent.getComponent(‘Power Table’).getComponent(0).background = Color(0,0,0)[/code]

---

<div class="post-metadata">

**Author:** ![jlteel](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@jlteel](https://forum.inductiveautomation.com/u/jlteel)\
**Post date:** [January 12, 2015, 5:34pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/4 "2015-01-12T17:34:00Z")

</div>

Thanks very much. I can see that my lack of java skill is killing me.

---

<div class="post-metadata">

**Author:** ![jlteel](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@jlteel](https://forum.inductiveautomation.com/u/jlteel)\
**Post date:** [January 12, 2015, 5:40pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/5 "2015-01-12T17:40:43Z")

</div>

How does one going about discovering all of the configurable properties of an object? Specifically, properties not exposed to Ignition?

---

<div class="post-metadata">

**Author:** ![denji26](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/denji26/32/5805_2.png) [@denji26](https://forum.inductiveautomation.com/u/denji26)\
**Post date:** [March 18, 2015, 8:02pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/6 "2015-03-18T20:02:57Z")

</div>

Any way to keep the border change permanent without setting it everytime the window opens?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 19, 2015, 12:35pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/7 "2015-03-19T12:35:07Z")

</div>

This topic should help:  
[Finding all available methods from a component](https://www.inductiveautomation.com/forum/viewtopic.php?f=70&t=13566)

---

<div class="post-metadata">

**Author:** ![glogue](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@glogue](https://forum.inductiveautomation.com/u/glogue)\
**Post date:** [April 13, 2015, 4:27pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/8 "2015-04-13T16:27:57Z")

</div>

> [@jlteel](#):
>
> How does one going about discovering all of the configurable properties of an object? Specifically, properties not exposed to Ignition?

To do this, I put a button in the same Root Container as the component you want to find the configurable properties for (EX: the Power Table). The code below is on the mouseClicked event for the button and will print all the properties for the Power Table in the console.

```auto
object = event.source.parent.getComponent('Power Table')

for x in dir(object):
	print x
```

---

<div class="post-metadata">

**Author:** ![jlteel](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@jlteel](https://forum.inductiveautomation.com/u/jlteel)\
**Post date:** [April 13, 2015, 10:09pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/9 "2015-04-13T22:09:07Z")

</div>

Great idea, Gina!

---

<div class="post-metadata">

**Author:** ![Booyakasha](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@Booyakasha](https://forum.inductiveautomation.com/u/Booyakasha)\
**Post date:** [March 27, 2017, 2:05am UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/10 "2017-03-27T02:05:05Z")

</div>

Does anyone know how to make the changes permanent? The setting go back every time I open the window.

---

<div class="post-metadata">

**Author:** ![jlteel](https://avatars.discourse-cdn.com/v4/letter/j/c67d28/32.png) [@jlteel](https://forum.inductiveautomation.com/u/jlteel)\
**Post date:** [March 27, 2017, 4:02am UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/11 "2017-03-27T04:02:32Z")

</div>

Just put the scripting that we mentioned on the Vision Window Opened event of the window.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [March 27, 2017, 4:22am UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/12 "2017-03-27T04:22:19Z")

</div>

Put the code in the initialize extension function of the power table.

---

<div class="post-metadata">

**Author:** ![Booyakasha](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@Booyakasha](https://forum.inductiveautomation.com/u/Booyakasha)\
**Post date:** [March 27, 2017, 4:31pm UTC](https://forum.inductiveautomation.com/t/power-table-border-extra-space/9331/13 "2017-03-27T16:31:07Z")

</div>

I didn’t have any luck putting it in the in the Vision Window Opened event. I tried:

```auto
system.gui.getParentWindow(event).getComponentForPath('Root Container.Power Table').border = None
```

It did work after I used the following code in the initialize extension function

```auto
self.border = None
```

Thanks for the quick responses! 😃
