# Delay in Updating Embedded View Buttons in Table Rows

**URL:** <https://forum.inductiveautomation.com/t/delay-in-updating-embedded-view-buttons-in-table-rows/109642>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 12, 2025, 2:31pm UTC](https://forum.inductiveautomation.com/t/delay-in-updating-embedded-view-buttons-in-table-rows/109642 "2025-08-12T14:31:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [August 12, 2025, 2:31pm UTC](https://forum.inductiveautomation.com/t/delay-in-updating-embedded-view-buttons-in-table-rows/109642/1 "2025-08-12T14:31:20Z")

</div>

Hi,

We have a table where the first column contains an embedded view showing different buttons.  
Each button has its own conditions for whether it should be displayed or hidden.  
To handle this, we’ve bound the display property of each button to `rowData` and check the conditions accordingly.

The problem is that when the table’s data changes, the button updates happen with a noticeable delay — for example, one button disappears, and then about a second later, the next one appears.

We’d like these changes to update instantly and all at once, without the intermediate delay.  
Is there a recommended way to achieve this in Perspective?

in first the image we click Play button 3rd from left.

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

The second image seen like this.

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

Then with delay it show the final.

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

Thanks.

---

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [August 12, 2025, 2:36pm UTC](https://forum.inductiveautomation.com/t/delay-in-updating-embedded-view-buttons-in-table-rows/109642/2 "2025-08-12T14:36:38Z")

</div>

> [@TechEnlive](#):
>
> we’ve bound the display property

What do those bindings look like? Pure Expression bindings will execute much quicker than script transforms.

---

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [August 12, 2025, 2:42pm UTC](https://forum.inductiveautomation.com/t/delay-in-updating-embedded-view-buttons-in-table-rows/109642/3 "2025-08-12T14:42:44Z")

</div>

First thanks.

The display binding as below:

```python
Expression: if(indexOf({session.props.auth.user.roles}, "Administrator") >= 0, {view.params.rowData}, None)

```

```python
def transform(self, value, quality, timestamp):
	
	v_processed=getattr(value,"PROCESSED","")		
	v_processed2= getattr(v_processed,"value","")	
	v_inpause=getattr(value,"INPAUSE","")
	v_inpause2= getattr(v_inpause,"value","")
		
	if (v_processed2==2) and (not (v_inpause2)):
		return True
	else:
		return False
		

```

---

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [August 12, 2025, 2:55pm UTC](https://forum.inductiveautomation.com/t/delay-in-updating-embedded-view-buttons-in-table-rows/109642/4 "2025-08-12T14:55:23Z")

</div>

I think that can be simplified into just an Expression:

```python
if(indexOf({session.props.auth.user.roles}, "Administrator") >= 0, 
	{view.params.rowData.PROCESSED.value} = 2 && !{view.params.rowData.INPAUSE.value}, 
	null
)

```

(I’m not sure if `None` works in Expressions, but I always use `null`.)

---

<div class="post-metadata">

**Author:** ![TechEnlive](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@TechEnlive](https://forum.inductiveautomation.com/u/TechEnlive)\
**Post date:** [August 13, 2025, 10:53am UTC](https://forum.inductiveautomation.com/t/delay-in-updating-embedded-view-buttons-in-table-rows/109642/5 "2025-08-13T10:53:38Z")

</div>

Thank you, Ryan. I implemented your suggestion, and it’s working flawlessly now.
