# Question about white space at bottom of Power Table/Table

**URL:** <https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927>\
**Category:** Ignition\
**Created:** [September 13, 2021, 11:10pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927 "2021-09-13T23:10:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzohner](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@dzohner](https://forum.inductiveautomation.com/u/dzohner)\
**Post date:** [September 13, 2021, 11:10pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/1 "2021-09-13T23:10:44Z")

</div>

Does anyone have ideas or suggestions how to create a Power Table and not have eh extra white space below the end of rows. If I don’t’ have it on my client window it will bring up a scroll bar if I extend the table in the designer where there is a big white space I don’t have the scroll bar the problem is finding the right spot and different monitors does anyone have suggestions.

---

<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:** [September 14, 2021, 12:15am UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/2 "2021-09-14T00:15:52Z")

</div>

Perhaps you could share a bit about what you are trying to do? Tables are designed to display an unknown number of rows, so a (possible) scroll bar is an inherent part of them.

---

<div class="post-metadata">

**Author:** ![dzohner](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@dzohner](https://forum.inductiveautomation.com/u/dzohner)\
**Post date:** [September 14, 2021, 3:29pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/3 "2021-09-14T15:29:12Z")

</div>

The box on the left in this screenshot is made by combing text fields, and numeric text fields. I get a clean look and border. We are abandoning this due to scaling issues. With the power table I’d like to achieve the same look or even with the regular table component. Would you have any ideas?  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/1/a11e3f54bf8dab7e0ad62f0d9db12455696a1b51.png)

---

<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 14, 2021, 3:43pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/4 "2021-09-14T15:43:12Z")

</div>

You could make a grouped layout of `header label(s)` + `template repeater`, with a template for each row. Or even put that into a template if you need to re-use it.

---

<div class="post-metadata">

**Author:** ![dzohner](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@dzohner](https://forum.inductiveautomation.com/u/dzohner)\
**Post date:** [September 14, 2021, 4:09pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/5 "2021-09-14T16:09:50Z")

</div>

So found some other posts on making the power table transparent. This seems to work I’m now made the configureCell to each have a line border but it takes away the ability to adjust the space between cells in the vision property editor. This will work if I can set the cell spacing to 0. Would you have any suggestions how to do this in configureCell vs vision property editor?

---

<div class="post-metadata">

**Author:** ![dzohner](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@dzohner](https://forum.inductiveautomation.com/u/dzohner)\
**Post date:** [September 14, 2021, 4:21pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/6 "2021-09-14T16:21:26Z")

</div>

When I set this to zero it just resets when I leave the editor

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/7/3726d79a16446ef277e0d58a67aae0b5191671e9.png)

---

<div class="post-metadata">

**Author:** ![jmb6259](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jmb6259](https://forum.inductiveautomation.com/u/jmb6259)\
**Post date:** [March 17, 2022, 4:45pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/7 "2022-03-17T16:45:21Z")

</div>

Any solutions to this? I’m having the same issue.

---

<div class="post-metadata">

**Author:** ![jmb6259](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jmb6259](https://forum.inductiveautomation.com/u/jmb6259)\
**Post date:** [March 22, 2022, 1:52pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/8 "2022-03-22T13:52:23Z")

</div>

Here is what I figured out.

1. Set "self.border = None " on the initialize extension function

2. Put the following under configureCell extension function.   
[Code]from javax.swing import BorderFactory  
from javax.swing.plaf import ColorUIResource

3. put the following under configureHeaderStyle extention function  
[Code]from javax.swing import BorderFactory  
from javax.swing.plaf import ColorUIResource

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 22, 2022, 2:19pm UTC](https://forum.inductiveautomation.com/t/question-about-white-space-at-bottom-of-power-table-table/50927/9 "2022-03-22T14:19:58Z")

</div>

Use the preformatted text button (`</>`) to insert code.

```python
from javax.swing import BorderFactory
from javax.swing.plaf import ColurUIResource

Grey = ColorUIResource(213,213,213)

if colName == 'your column name':
    return {'border': BorderFactory.createMatteBorder(0,1,0,0,Grey)}
else:
    pass

```

and

```python
from javax.swing import BoderFactory
from javax.swing import ColurUIResource

Grey = ColorUIResource(213,213,213)

if colName == 'your column name of first column':
    return {'border': BorderFactory.createMatteBorder(1,1,0,0Grey)}
else:
    return {'border': BorderFactory.createMatteBorder(1,0,0,0,Grey)}

```
