# Table components with sub header rows

**URL:** <https://forum.inductiveautomation.com/t/table-components-with-sub-header-rows/21407>\
**Category:** Ignition\
**Created:** [December 13, 2018, 6:56pm UTC](https://forum.inductiveautomation.com/t/table-components-with-sub-header-rows/21407 "2018-12-13T18:56:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeAllgood](https://avatars.discourse-cdn.com/v4/letter/m/a183cd/32.png) [@MikeAllgood](https://forum.inductiveautomation.com/u/MikeAllgood)\
**Post date:** [December 13, 2018, 6:56pm UTC](https://forum.inductiveautomation.com/t/table-components-with-sub-header-rows/21407/1 "2018-12-13T18:56:49Z")

</div>

I’m guessing the answer to this question is likely “no”, but is there a way to add sub-headings to Table or Power Table components on screens?  
Something like this:

Thanks,  
Mike

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [December 13, 2018, 9:03pm UTC](https://forum.inductiveautomation.com/t/table-components-with-sub-header-rows/21407/2 "2018-12-13T21:03:45Z")

</div>

Unless something has changed, nope.

> [@Merged cells in table](http://forum.inductiveautomation.com/t/merged-cells-in-table/1880):
>
> Is this possible to do? Kinda like in this sample one: [image]

---

<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:** [December 13, 2018, 10:08pm UTC](https://forum.inductiveautomation.com/t/table-components-with-sub-header-rows/21407/3 "2018-12-13T22:08:13Z")

</div>

You can cheat. Set the merged cells in the cellSpanData property.  
Hide the header on the table. Rows 0 and 1 will become the fake header.  
In configureCell, change the text value for rows 1 and 2.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b0954ea0fcf0130ba5be947ff376514d3d0354f7.png)

Or you can use a template / template repeater for each row and make it look like a table.

---

<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:** [December 13, 2018, 10:28pm UTC](https://forum.inductiveautomation.com/t/table-components-with-sub-header-rows/21407/4 "2018-12-13T22:28:13Z")

</div>

> [@jpark](#):
>
> Set the merged cells in the cellSpanData property.

That doesn't apply to the header.

---

<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:** [December 13, 2018, 10:31pm UTC](https://forum.inductiveautomation.com/t/table-components-with-sub-header-rows/21407/5 "2018-12-13T22:31:30Z")

</div>

Correct. I forgot to add say “hide the header” and make row 0 = Node, Current, Temp, Humidity  
row 1 = “”,Temp, Humidity, Min, Max, Avg, Min, Max, Avg.
