# Button disappears

**URL:** https://community.glideapps.com/t/button-disappears/74898
**Category:** Report a Bug
**Tags:** custom-code, tutorial, actions
**Created:** [July 14, 2024, 7:02am UTC](https://community.glideapps.com/t/button-disappears/74898 "2024-07-14T07:02:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![EMERICK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/emerick/32/77489_2.png) [@EMERICK](https://community.glideapps.com/u/EMERICK)
#### Post date: [July 14, 2024, 7:02am UTC](https://community.glideapps.com/t/button-disappears/74898/1 "2024-07-14T07:02:07Z")

</div>

Same issue on Firefox, Edge, Chrome.

**Team ID:**  
[https://go.glideapps.com/o/LFpW2OEzEJ2WKJN20jnX](https://go.glideapps.com/o/LFpW2OEzEJ2WKJN20jnX)

**App ID:**  
[https://go.glideapps.com/app/5i4N3w9M61W0rMgHaqen/layout](https://go.glideapps.com/app/5i4N3w9M61W0rMgHaqen/layout)

**Description**

- Button disappears if this is no row in the table.
- Button appears if this is a row in the table.
- Button still available if this is a value in the cell of the table.

**How to replicate**

- Remove all rows in the table

\*\* See the screen recording \*\*

https://www.loom.com/embed/150ed4caa49c4a80a2e4142577fbce31

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/e/ce3ade61f7f213b94814c23ef316d93c89746d33.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/3/0343847651e3660c73750a16ab0b2f02649f65e4.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/6/d6d7175aa474a849649b04801658a78170b7e87e.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/c/8cba8c77b286c930875cd4973ed5ac04ed5b2761.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/7/c708da9aa7729e2f7cf82b1c048a0fbdf1edf11e.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/8/3848c5fc367ee24b5e45c33c3904f1159670a5e1.png)

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [July 14, 2024, 8:59am UTC](https://community.glideapps.com/t/button-disappears/74898/2 "2024-07-14T08:59:48Z")

</div>

That’s not a bug, it’s expected behaviour.  
The action on your button is Set Column Values. That action needs a row to operate on. If there is no row, the action cannot be executed and so the button will not be visible.

What you should do is add a RowID column to your table. This will add a single row.

---

<div class="post-metadata">

### Author: ![EMERICK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/emerick/32/77489_2.png) [@EMERICK](https://community.glideapps.com/u/EMERICK)
#### Post date: [July 14, 2024, 12:09pm UTC](https://community.glideapps.com/t/button-disappears/74898/3 "2024-07-14T12:09:07Z")

</div>

Hi, @Darren_Murphy  
Good to know 👍  
Appreciated the explanation, advice and quick reply.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [July 21, 2024, 12:10pm UTC](https://community.glideapps.com/t/button-disappears/74898/4 "2024-07-21T12:10:02Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
