# Perspective Table Column Adding Bug

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-column-adding-bug/84742>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [January 24, 2024, 10:23pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-adding-bug/84742 "2024-01-24T22:23:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Peterson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brandon_peterson/32/32960_2.png) [@Brandon\_Peterson](https://forum.inductiveautomation.com/u/Brandon_Peterson)\
**Post date:** [January 24, 2024, 10:23pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-adding-bug/84742/1 "2024-01-24T22:23:13Z")

</div>

When adding a column to a table with bindings on several footer titles (header titles untested), those bindings don't always move over to their new column index properly. I'm pretty sure this is a bug in Ignition v8.1.35.

Starting with this table, I want to add a column after column "4" (sorry, not zero-indexed):

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/2/52843e1e04843fa3db4242445ebf2382f999d3aa.png)

Notice the green and blue column footers. Those should stick to their respective columns, but some don't, as we can see in the table below:

_Adding the column:_

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/c/9c710b3a98a4250e09128f69e784540524e25175.png)

_The resulting table:_

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/e/eecbfbd0553ffb6439c7e63dcb2e6467c5334447.png)

It looks like bindings are being copied from left to right, overriding whatever is there. But after thinking about this more, I've realized that columns with bindings that need to be overridden by the adjacent column (when copying an array by shifting every item over to make room), that override just isn't happening. Either something is happening in the wrong order, or the copy just fails and gives up when a binding already exists in the place it's trying to copy to.

If none of that last paragraph made any sense, just let me know please 😅

_Btw, I'm just trying to report this as a bug. I don't need a workaround or anything. It just takes a bit of time to copy all those bindings over to their correct columns._

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 24, 2024, 10:26pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-adding-bug/84742/2 "2024-01-24T22:26:56Z")

</div>

I'm pretty sure this is just a different manifestation of a problem that's been true of Perspective forever - adding elements to an array doesn't shift bindings along with it.  
Which we are tracking as a bug (and recently got a jump in priority), but is easy enough to workaround it's never been a high priority to fix.

---

<div class="post-metadata">

**Author:** ![Brandon\_Peterson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brandon_peterson/32/32960_2.png) [@Brandon\_Peterson](https://forum.inductiveautomation.com/u/Brandon_Peterson)\
**Post date:** [January 24, 2024, 10:29pm UTC](https://forum.inductiveautomation.com/t/perspective-table-column-adding-bug/84742/3 "2024-01-24T22:29:21Z")

</div>

What's weird to me is that it did work for 2 of the columns (those with no bindings on their column to the right).

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/6/a655e59c2e126e63d26ce8dabaf1daf90d660d47.png)

---

<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:** [January 25, 2024, 6:23am UTC](https://forum.inductiveautomation.com/t/perspective-table-column-adding-bug/84742/4 "2024-01-25T06:23:04Z")

</div>

As one of the regulars in the forum likes to call it: "This old friend 🎵"

> [@\[BUG\] Bindings on props within array items don't stay with their associated array item if moved to a new array index](https://forum.inductiveautomation.com/t/bug-bindings-on-props-within-array-items-dont-stay-with-their-associated-array-item-if-moved-to-a-new-array-index/35578):
>
> Hello, I’m encountering a bug and didn’t know where to report it. It’s easy enough to work around, so I didn’t bother submitting a support ticket. I have some parameters I’m passing to an embedded view (using perspective). These parameters include an array of objects: One of these objects (object 4) has a binding on one of its values (position). If I duplicate an object above object 4, Ignition appropriately increments the number of the objects below where the duplicated object is, …
