# Power table won't auto center columns and antialising messing up on headers

**URL:** <https://forum.inductiveautomation.com/t/power-table-wont-auto-center-columns-and-antialising-messing-up-on-headers/21635>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [January 1, 2019, 6:02pm UTC](https://forum.inductiveautomation.com/t/power-table-wont-auto-center-columns-and-antialising-messing-up-on-headers/21635 "2019-01-01T18:02:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dholt](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dholt/32/4458_2.png) [@dholt](https://forum.inductiveautomation.com/u/dholt)\
**Post date:** [January 1, 2019, 6:02pm UTC](https://forum.inductiveautomation.com/t/power-table-wont-auto-center-columns-and-antialising-messing-up-on-headers/21635/1 "2019-01-01T18:02:24Z")

</div>

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cafad19c1806e559460a0d001a12cb11c302bd3c.jpg)

Good Morning, Hope all is well!

I’m using a power table that’s being fed by a dynamic pivot table in sql so as new weeks come in the columns just show up in the power table. The problem that I’m having is that even if I center the columns on the power table as a new week comes in that column then changes back to right alignment. So it sets a weird look to the power table and I can’t figure out how to default the power table to center alignment. Also is there a way to have the headers be anti aliased as well? Thank you for the assistance, Regards!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 1, 2019, 7:29pm UTC](https://forum.inductiveautomation.com/t/power-table-wont-auto-center-columns-and-antialising-messing-up-on-headers/21635/2 "2019-01-01T19:29:00Z")

</div>

You need to add a new row to the Column Attributes Dataset property for each new column name that shows up. Consider placing an “ideal” row in the c-a-d and use it as a template for each dated column name. A property change event on the ‘data’ property would be the appropriate time to update the c-a-d.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [January 1, 2019, 10:35pm UTC](https://forum.inductiveautomation.com/t/power-table-wont-auto-center-columns-and-antialising-messing-up-on-headers/21635/3 "2019-01-01T22:35:22Z")

</div>

You could also just set the alignment from the configureCell extension function to include {“horizontalAlignment”:0}
