# Changing Power Table headers through scripting

**URL:** <https://forum.inductiveautomation.com/t/changing-power-table-headers-through-scripting/17710>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [April 13, 2018, 5:50pm UTC](https://forum.inductiveautomation.com/t/changing-power-table-headers-through-scripting/17710 "2018-04-13T17:50:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ethomason](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ethomason/32/43338_2.png) [@ethomason](https://forum.inductiveautomation.com/u/ethomason)\
**Post date:** [April 13, 2018, 6:34pm UTC](https://forum.inductiveautomation.com/t/changing-power-table-headers-through-scripting/17710/2 "2018-04-13T18:34:17Z")

</div>

> [@Dynamic Column Attributes Data](http://forum.inductiveautomation.com/t/dynamic-column-attributes-data/11502/7):
>
> I got it to work. [code]headers =[“name”,“dateFormat”,“editable”,“filterable”,“hidden”,“horizontalAlignment”,“label”,“numberFormat”,“prefix”,“sortable”,“suffix”,“treatAsBoolean”,“verticalAlignment”,“wrapText”] data.append([row,“MMM d, yyyy h:mm a”,“false”,“false”,“false”,"-9","","#,##0.##","",“true”,"",“false”,“0”,“false”])[/code] thanks for the help

Or

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

should get you going

---

_[View the full topic](https://forum.inductiveautomation.com/t/changing-power-table-headers-through-scripting/17710)._
