# Table column font

**URL:** <https://forum.inductiveautomation.com/t/table-column-font/9738>\
**Category:** Ignition\
**Created:** [February 24, 2015, 11:47am UTC](https://forum.inductiveautomation.com/t/table-column-font/9738 "2015-02-24T11:47:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didi71](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@Didi71](https://forum.inductiveautomation.com/u/Didi71)\
**Post date:** [February 24, 2015, 11:47am UTC](https://forum.inductiveautomation.com/t/table-column-font/9738/1 "2015-02-24T11:47:51Z")

</div>

Hello everybody.

Is it possible (and how to) to set a specific font for each column of a table component (regardless from column values)?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![CPowell](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CPowell](https://forum.inductiveautomation.com/u/CPowell)\
**Post date:** [February 24, 2015, 3:03pm UTC](https://forum.inductiveautomation.com/t/table-column-font/9738/2 "2015-02-24T15:03:28Z")

</div>

On a power table, it is easy.  
Go to Component Scripting on the Power Table.  
Under the Extension Functions, enable the configureCell function, then edit the font on the column you want. Here is an example of how to change the font.

```auto
if colName == 'Int Column':
	return {'font': 'Dialog, Bold, 12'}
elif colName == 'Float Column':
	return {'font': 'Arial, Bold, 20'}
```

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![Didi71](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@Didi71](https://forum.inductiveautomation.com/u/Didi71)\
**Post date:** [February 24, 2015, 3:12pm UTC](https://forum.inductiveautomation.com/t/table-column-font/9738/3 "2015-02-24T15:12:58Z")

</div>

Hello.

Thank you for your reply.  
Unfortunately I’ve a legacy project and I cannot switch from “table” to “power table”.

Any other suggestions?

---

<div class="post-metadata">

**Author:** ![CPowell](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CPowell](https://forum.inductiveautomation.com/u/CPowell)\
**Post date:** [February 24, 2015, 5:15pm UTC](https://forum.inductiveautomation.com/t/table-column-font/9738/4 "2015-02-24T17:15:22Z")

</div>

The only way I can think is to do it via html.

If you are pulling the data from an SQL query, add it there…

```auto
SELECT Column1,
	CONCAT('<HTML><b><FONT FACE = "Times New Roman">',Column2) as MyColumn
FROM MyTable
```

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [February 24, 2015, 6:09pm UTC](https://forum.inductiveautomation.com/t/table-column-font/9738/5 "2015-02-24T18:09:43Z")

</div>

You can also use the Table Customizer and put in the Prefix for the column.

---

<div class="post-metadata">

**Author:** ![Didi71](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@Didi71](https://forum.inductiveautomation.com/u/Didi71)\
**Post date:** [February 26, 2015, 8:13am UTC](https://forum.inductiveautomation.com/t/table-column-font/9738/6 "2015-02-26T08:13:25Z")

</div>

Ohhh yess, Pat: it works.

Thank you.
