# \[IGN-6791\] Perspective table header alignment - is there a problem?

**URL:** <https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 29, 2022, 10:49am UTC](https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833 "2022-10-29T10:49:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 29, 2022, 10:49am UTC](https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833/1 "2022-10-29T10:49:48Z")

</div>

Ignition 8.1.22 RC1.

I can't seem to get right-aligned headers in my Perspective tables.

`props.columns.0.header.justify : right`  
doesn't seem to work.  
`props.columns.0.header.style.textAlign : right`  
doesn't either.

I seem to remember this coming up on the forum but can't find the relevant post. Does anyone know if this is a bug or am I missing something obvious?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 30, 2022, 8:42am UTC](https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833/2 "2022-10-30T08:42:25Z")

</div>

> [@Transistor](#):
>
> am I missing something obvious

~~I'm not sure,~~ as long as my **field** property is spelled correctly, **header.justify: right** gives my headers right alignment:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/7541fe70469dfd61b81932fdd3783d1b3892b296.png)

**Edit:**  
I was able to recreate the problem. I tried adding the header.textAlign property like you did, but it wasn't an option, so I had to replace one of the existing parameters. Afterwards, it would let me add any style property I wanted, but the justify property no longer worked. **Deleting the entire header prop and then adding it back again corrected the issue**

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 30, 2022, 11:19am UTC](https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833/3 "2022-10-30T11:19:53Z")

</div>

Thank you for your time on this.  
I deleted the header section as you suggested and recreated it. No change.

I created a new table and have the same problem.

 ![Table heading justify](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/9/2919d6da58a1a2f63354d4e4bf7b7912e0aac681.png)

What version are you running?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 30, 2022, 11:27am UTC](https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833/4 "2022-10-30T11:27:31Z")

</div>

I performed the tests on version 8.1.19

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 30, 2022, 12:51pm UTC](https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833/5 "2022-10-30T12:51:40Z")

</div>

I repeated the experiment in version 8.1.20, and I got the same result, so I'm not sure what's going wrong:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/4/24c822b81b0994f0537499fc4a36114e8e2d5835.png)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 30, 2022, 4:21pm UTC](https://forum.inductiveautomation.com/t/ign-6791-perspective-table-header-alignment-is-there-a-problem/65833/6 "2022-10-30T16:21:28Z")

</div>

I can replicate this. It's likely fallout from our recent introduction of providing filtering to columns. The 8.1.22 release was scheduled for the coming days, but I'll see if we can squeeze a fix for this into that release.
