# Perspective Table Dynamic Columns Center Text

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-dynamic-columns-center-text/71514>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [March 23, 2023, 5:55pm UTC](https://forum.inductiveautomation.com/t/perspective-table-dynamic-columns-center-text/71514 "2023-03-23T17:55:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eckman.tech](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/eckman.tech/32/45147_2.png) [@eckman.tech](https://forum.inductiveautomation.com/u/eckman.tech)\
**Post date:** [March 23, 2023, 7:12pm UTC](https://forum.inductiveautomation.com/t/perspective-table-dynamic-columns-center-text/71514/2 "2023-03-23T19:12:14Z")

</div>

Welp...I think my hand is forced to go back to my original option - rebuilding the "columns" property each time new data is retrieved.

Haven't found anything to center the header text and set number formatting without using the "columns" property. This is what I tried in a scrip transform on the data binding (was really crossing my fingers).

**Editable with UID - works well, "justify" is unnecessary**  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/b/fb9a116631eef21c7213fe67230301e110d6aee2.png)

**Tried some formatting with no luck (other than the align)**  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/4/94e48fe76039c2424a3da380fa69c086ceb21ea7.png)

I think I'll still stick with using a flex repeater for each group as that is working out well. Had to build a list of objects for each row since the data is transposed and some cells are editable so I had to include a UID value for each cell in order to edit (first picture).

> [@Perspective Table Variable Column Count & Header Groups](https://forum.inductiveautomation.com/t/perspective-table-variable-column-count-header-groups/71502):
>
> Just want to get some thoughts about something I'm trying to accomplish. I have an idea of how... I have a dataset that is comprised of 3 rows (sometimes it may only be 1 or 2 rows). Each row will always have 3 columns that never change. Every row will also have a variable number of columns after those first 3. It will vary between an additional 9 to a max of 36 (in buckets of 9 columns). Those "buckets" of 9 columns should be grouped together with a column header. Simple Excel example:

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-table-dynamic-columns-center-text/71514)._
