# How to Set Up "Next" and "Previous" Buttons for Navigation in Glide App

**URL:** <https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019>\
**Category:** Ask for Help\
**Created:** [July 19, 2024, 3:44pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019 "2024-07-19T15:44:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Rosenstein](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brian_rosenstein/32/9084_2.png) [@Brian\_Rosenstein](https://community.glideapps.com/u/Brian_Rosenstein)\
**Post date:** [July 19, 2024, 3:44pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/1 "2024-07-19T15:44:23Z")

</div>

Hi Glide Community,

I’m working on a Glide app where I need to add “Next” and “Previous” buttons to navigate between items in a list. I’ve created columns in my data sheet for “Next” and “Previous” with the unique identifiers of the respective items, but I’m struggling to find the correct action to link these buttons to the corresponding screens.

Here’s what I’ve done so far:

1. Created “Next” and “Previous” columns in my data sheet.
2. Added Columns in my data linking to “next” and "previous rows using ID
3. Added button components on the detail screen.
4. Tried to set the button actions to navigate to the detail screens of the next and previous items.

But I can’t seem to find any action that will allow me to use the button to navigate.

However, I’m not seeing an action called “Navigate to Screen” or something similar that would allow me to link the buttons to the specific items referenced in my columns.

Could someone please guide me on how to properly set up these navigation buttons? Are there any updated action names or settings I should be aware of?

Thanks in advance for your help!

_ **Solved** _ I needed to setup relation columns to use the navigation in the buttons.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [July 19, 2024, 3:45pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/2 "2024-07-19T15:45:59Z")

</div>

You can use the Show Details Screen action and point the source to the relations that you made instead of the default “this item”.

---

<div class="post-metadata">

**Author:** ![Brian\_Rosenstein](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brian_rosenstein/32/9084_2.png) [@Brian\_Rosenstein](https://community.glideapps.com/u/Brian_Rosenstein)\
**Post date:** [July 19, 2024, 4:20pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/3 "2024-07-19T16:20:17Z")

</div>

Thank You for the reply. There does not seem to be any data to select when I use ‘Show Details Screen’.

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

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 19, 2024, 4:21pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/4 "2024-07-19T16:21:48Z")

</div>

Are you using single relations to link to the other rows?

---

<div class="post-metadata">

**Author:** ![Brian\_Rosenstein](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brian_rosenstein/32/9084_2.png) [@Brian\_Rosenstein](https://community.glideapps.com/u/Brian_Rosenstein)\
**Post date:** [July 19, 2024, 4:24pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/5 "2024-07-19T16:24:17Z")

</div>

Not right now, I can do whatever I need to but I don’t have a relation column setup at the momnet. I just listed the next and previous row ID

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 19, 2024, 4:25pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/6 "2024-07-19T16:25:59Z")

</div>

Yeah, you need relations to create that link to the previous or next row. Just make sure to not select the multiple checkbox when creating them.

---

<div class="post-metadata">

**Author:** ![Brian\_Rosenstein](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brian_rosenstein/32/9084_2.png) [@Brian\_Rosenstein](https://community.glideapps.com/u/Brian_Rosenstein)\
**Post date:** [July 19, 2024, 4:42pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/7 "2024-07-19T16:42:22Z")

</div>

Got it. Thank You very much for your help. I’ll edit this post as soved!

---

<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 26, 2024, 4:43pm UTC](https://community.glideapps.com/t/how-to-set-up-next-and-previous-buttons-for-navigation-in-glide-app/75019/8 "2024-07-26T16:43:13Z")

</div>

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