# \[BUG-15873\] Perspective Table row formatting disables Subviews?

**URL:** <https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [May 13, 2020, 6:12pm UTC](https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710 "2020-05-13T18:12:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![321liftoff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/321liftoff/32/27544_2.png) [@321liftoff](https://forum.inductiveautomation.com/u/321liftoff)\
**Post date:** [May 13, 2020, 6:12pm UTC](https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710/1 "2020-05-13T18:12:46Z")

</div>

If subview parameters are not included in the data structure when formatting a row, then the global subview settings configured in the table properties are erased.

Seems to be a bug if scripts have to define subview parameters when all is needed is to apply row formatting.

Steps to recreate on Ignition 8.0.12:

1. Place the default table component onto a blank View
2. enable rows-\>subview-\>enable
3. convert the first row of data to follow [row-style requirements](http://forum.inductiveautomation.com/t/feedback-new-perspective-table/21199/30) (see image below)
4. Convert 2nd row of data to follow row requirements and add subview enabled data (see image below)5. Observe that the arrow for subview is no longer present and cannot be activated (see image below)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/a9958eb30c34b105f8a8142f21657a37a69df4c0.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dab43284e8949ab807b6bcf11e879df601056036.png)

---

<div class="post-metadata">

**Author:** ![321liftoff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/321liftoff/32/27544_2.png) [@321liftoff](https://forum.inductiveautomation.com/u/321liftoff)\
**Post date:** [May 14, 2020, 2:12am UTC](https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710/2 "2020-05-14T02:12:37Z")

</div>

Additionally, when specifying the subview configuration in the row manually, the parameters are not passed to the subview:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/62aef076609ba4bf166e801550bdb5d4c77d338d.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f58ad5a2797804e219c319c0ffaf569ea9c65ceb.png)

---

<div class="post-metadata">

**Author:** ![ynejati](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ynejati/32/6093_2.png) [@ynejati](https://forum.inductiveautomation.com/u/ynejati)\
**Post date:** [May 14, 2020, 3:13pm UTC](https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710/3 "2020-05-14T15:13:19Z")

</div>

Thanks for bringing this to our attention. We will take care of it. Thanks again.

---

<div class="post-metadata">

**Author:** ![321liftoff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/321liftoff/32/27544_2.png) [@321liftoff](https://forum.inductiveautomation.com/u/321liftoff)\
**Post date:** [June 11, 2021, 6:16pm UTC](https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710/5 "2021-06-11T18:16:37Z")

</div>

It appears that “value” is passed straight through from the array instance of the data property of the table. So when using styles for rows and creating a structure like below:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/f/5fa80d28583c23089f0d9144caee880cd1809d95.png)

the reference in the subView needs to be:  
`view.params.value.value`

Given this understanding, it functions as expected.

---

<div class="post-metadata">

**Author:** ![kyle.demerath](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kyle.demerath](https://forum.inductiveautomation.com/u/kyle.demerath)\
**Post date:** [June 28, 2021, 6:02pm UTC](https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710/6 "2021-06-28T18:02:03Z")

</div>

Has anything changed between 8.1.3 to 8.1.7 with subviews. I posted this in another spot as well, but I have a parameterized subview that is no longer working correctly after updating.

> [@Perspective Table Subview Parameters Broken?](http://forum.inductiveautomation.com/t/perspective-table-subview-parameters-broken/48124):
>
> Did something change between 8.1.3 and 8.1.7. I have a table with a subview and there are parameters on the subview that have bindings on them. The subview uses these parameters and also uses the values from the value JSON of the row that is expanded. This was working fine in version 8.1.3 but now in 8.1.7 my bindings and the values from the row appear to be having no effect and my subview is only showing whatever state it was saved in the designer as.

---

<div class="post-metadata">

**Author:** ![321liftoff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/321liftoff/32/27544_2.png) [@321liftoff](https://forum.inductiveautomation.com/u/321liftoff)\
**Post date:** [September 15, 2021, 4:59pm UTC](https://forum.inductiveautomation.com/t/bug-15873-perspective-table-row-formatting-disables-subviews/34710/7 "2021-09-15T16:59:37Z")

</div>

I don’t know what version corrected the original issue, but sometime between version 8.0.12 and 8.1.5 the reported issue was fixed.
