Changing Power Table headers through scripting

Or

https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/109/2/working-with-power-table-extension-functions#configureHeaderStyle

should get you going