Dynamic Power Table Size

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