# Dynamic Power Table Size

**URL:** <https://forum.inductiveautomation.com/t/dynamic-power-table-size/11386>\
**Category:** Archived Topics\
**Created:** [March 18, 2016, 2:46pm UTC](https://forum.inductiveautomation.com/t/dynamic-power-table-size/11386 "2016-03-18T14:46:52Z")\
**Posts on this page:** 1\
**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, 2:46pm UTC](https://forum.inductiveautomation.com/t/dynamic-power-table-size/11386/1 "2016-03-18T14:46:52Z")

</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 ??
