# Dynamic Toper Table Size

**URL:** <https://forum.inductiveautomation.com/t/dynamic-toper-table-size/11387>\
**Category:** Ignition\
**Created:** [March 18, 2016, 6:03pm UTC](https://forum.inductiveautomation.com/t/dynamic-toper-table-size/11387 "2016-03-18T18:03:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricFrancoeur](https://avatars.discourse-cdn.com/v4/letter/e/dfb087/32.png) [@EricFrancoeur](https://forum.inductiveautomation.com/u/EricFrancoeur)\
**Post date:** [March 18, 2016, 6:03pm UTC](https://forum.inductiveautomation.com/t/dynamic-toper-table-size/11387/1 "2016-03-18T18:03:18Z")

</div>

Hi,

I’m trying to get my table the same size as the numbers of row I have it’s result set. (I know I’ll probably have to set the hight of the root container and window, but I’m not preoccupied with that right now.)

I know the numbers of rows and I can get the height of 1 row so the # of rows \* 1 row height + Header height = Table Height…

I’ve found that Power Tables have the setSize(width,height) method, but when I use that, it resize back to the original size in 2 seconds…

Any Idea why ??

---

<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 18, 2016, 8:30pm UTC](https://forum.inductiveautomation.com/t/dynamic-toper-table-size/11387/2 "2016-03-18T20:30:08Z")

</div>

Try using the system.gui.transform function.
