# Appearance formatting of headers in vision tables

**URL:** <https://forum.inductiveautomation.com/t/appearance-formatting-of-headers-in-vision-tables/64412>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [September 23, 2022, 10:55am UTC](https://forum.inductiveautomation.com/t/appearance-formatting-of-headers-in-vision-tables/64412 "2022-09-23T10:55:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Douglas\_Lawrie](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@Douglas\_Lawrie](https://forum.inductiveautomation.com/u/Douglas_Lawrie)\
**Post date:** [September 23, 2022, 10:55am UTC](https://forum.inductiveautomation.com/t/appearance-formatting-of-headers-in-vision-tables/64412/1 "2022-09-23T10:55:52Z")

</div>

For Vision tables/power tables, how do you format the headers? I can see properties for the row foreground and background but nothing for the header font colour.

---

<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:** [September 23, 2022, 11:11am UTC](https://forum.inductiveautomation.com/t/appearance-formatting-of-headers-in-vision-tables/64412/2 "2022-09-23T11:11:48Z")

</div>

In the power table, use the built in configureHeaderStyle extension function, and use the ‘foreground’ property to change the font color of the header.

---

<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:** [September 23, 2022, 11:15am UTC](https://forum.inductiveautomation.com/t/appearance-formatting-of-headers-in-vision-tables/64412/3 "2022-09-23T11:15:28Z")

</div>

Example:

```auto
def configureHeaderStyle(self, colIndex, colName):
	from javax.swing import SwingConstants
	return {
		'foreground': 'white',
		'background': 'black'}

```
