# Can I hide a row?

**URL:** <https://community.glideapps.com/t/can-i-hide-a-row/71120>\
**Category:** Ask for Help\
**Created:** [February 24, 2024, 7:05pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120 "2024-02-24T19:05:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedrop](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedrop/32/71433_2.png) [@Pedrop](https://community.glideapps.com/u/Pedrop)\
**Post date:** [February 24, 2024, 7:05pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/1 "2024-02-24T19:05:55Z")

</div>

Hello guys, I need help.  
I’m trying add a button that when pressed it will open a duplicated row of that same row, but the last will be hidden. The Data will be there, but won’t be shown.

Is it possible?

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [February 24, 2024, 7:11pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/2 "2024-02-24T19:11:01Z")

</div>

I think you could do it like this… add a new column in your data “isHidden”

On your button put an add row action. When you add the new row include ‘true’ in the isHidden column.

Add a filter to your collection where isHidden is not true.

---

<div class="post-metadata">

**Author:** ![Pedrop](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedrop/32/71433_2.png) [@Pedrop](https://community.glideapps.com/u/Pedrop)\
**Post date:** [February 24, 2024, 7:54pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/3 "2024-02-24T19:54:25Z")

</div>

Hey, thanks for the tip.

I’m trying to do that, but the button is not appearing when i add the action for some reason

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [February 24, 2024, 8:03pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/4 "2024-02-24T20:03:33Z")

</div>

Do you have any conditions or visibility settings on the button?

---

<div class="post-metadata">

**Author:** ![Pedrop](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedrop/32/71433_2.png) [@Pedrop](https://community.glideapps.com/u/Pedrop)\
**Post date:** [February 24, 2024, 8:06pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/5 "2024-02-24T20:06:38Z")

</div>

Yup, just got it! My bad hahaha Thank you, mate.

---

<div class="post-metadata">

**Author:** ![Pedrop](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedrop/32/71433_2.png) [@Pedrop](https://community.glideapps.com/u/Pedrop)\
**Post date:** [February 24, 2024, 8:17pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/6 "2024-02-24T20:17:16Z")

</div>

Excuse me, but how do I add an action to show the edit page of the new duplicated item, instead of the old (current one).

Is it possible?

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [February 24, 2024, 9:29pm UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/7 "2024-02-24T21:29:02Z")

</div>

There’s probably a few ways to do that. May we know your use case? There might be a better way altogether.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 25, 2024, 12:13am UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/8 "2024-02-25T00:13:31Z")

</div>

I think a better way is to show a form within the “original” item’s screen, write that to the same table, set default values of the current screen to the entry components, and let the user edit them as needed.

---

<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:** [March 3, 2024, 12:14am UTC](https://community.glideapps.com/t/can-i-hide-a-row/71120/9 "2024-03-03T00:14:02Z")

</div>

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