Power Table Auto Size Columns

on the power table is there a scripting function to auto size columns?

I see i can manually auto size the columns in the client by right clicking the header, but i want the tables columns to auto size after the window opens.

Thank you,


  1. Open the Designer for the project that has your Power Table component
  2. Go to the Property Editor for the Power Table component
  3. Under Behavior, set the Auto-Resize Mode to All Columns
  4. Save your project to the gateway

Or… you can use the ‘initialize’ method on the powerTable.

powerTable.autoResizeMode = 4

This will set to auto resize on each initialization of the table. It is overkill if you set the property to begin with.