# Three different views of the same tab

**URL:** <https://community.glideapps.com/t/three-different-views-of-the-same-tab/36186>\
**Category:** Ask for Help\
**Created:** [December 21, 2021, 1:23pm UTC](https://community.glideapps.com/t/three-different-views-of-the-same-tab/36186 "2021-12-21T13:23:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![forsdick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/forsdick/32/26296_2.png) [@forsdick](https://community.glideapps.com/u/forsdick)\
**Post date:** [December 21, 2021, 1:23pm UTC](https://community.glideapps.com/t/three-different-views-of-the-same-tab/36186/1 "2021-12-21T13:23:34Z")

</div>

In my app, I have a table of _ **talks** _ given in my organization. I would like to have buttons that determine how the various _ **talks** _ (rows) of the table (tab) are shown: One button causes all rows of _ **talks** _ to be shown grouped by the type of talk (each has a category). Another button causes only rows of _ **talks** _ given prior to today (i.e., in the past) to be shown in reverse date order. The third button causes only rows of _ **talks** _ given after today (i.e., scheduled for the future) to be shown in forward date order.

My first approach was to define three tabs, one for each order. This causes three tab icons (all, past, future) to appear in the tab line of the app. What I need are actions to change the settings (order and filter) for the single _ **talks** _ tab to these three states. Any ideas on how I should do this? Thanks.

---

<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:** [December 21, 2021, 1:38pm UTC](https://community.glideapps.com/t/three-different-views-of-the-same-tab/36186/2 "2021-12-21T13:38:48Z")

</div>

Probably the simplest approach would be a single tab with 3 Inline Lists. Each Inline List would be filtered according to one of your 3 criteria. Then have a choice component in segmented mode that allows you to toggle the visibility of each of the lists. The choice component would write to a user specific column, and each list would have its visibility condition set according to the value in the user specific column.

A slightly more advanced approach would involve using a single Inline List, and dynamically filtering it via a relation.

---

<div class="post-metadata">

**Author:** ![forsdick](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/forsdick/32/26296_2.png) [@forsdick](https://community.glideapps.com/u/forsdick)\
**Post date:** [December 21, 2021, 2:28pm UTC](https://community.glideapps.com/t/three-different-views-of-the-same-tab/36186/3 "2021-12-21T14:28:55Z")

</div>

Darren: That is sort of the approach I have taken. Currently, I have three tabs each with a different view of the _ **talks** _ table. I have a button bar with two buttons in each tab. The two buttons each have Go to Tab actions that bring up one of the other two filtered and ordered tabs.

 ![2021-12-21_09-29-31](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/e/1ed5c6d21c39889e66d9ce68e02a5720a9bc937a.jpeg)

The **only** problem with this solution is that all three icons for the three tabs appear in the tab bar at the bottom of the display. If I could figure out how to hide the _ **past** _ and _ **future** _ tabs from the bottom tab bar, I’d have my solution using simple Glide mechanisms.

So, is there any way to hide a tab from the bottom tab bar? Just hiding the tab seems to make it unavailable to be used in an Go to Tab statement. It’s too bad that it isn’t still unusable.

---

<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:** [December 21, 2021, 2:41pm UTC](https://community.glideapps.com/t/three-different-views-of-the-same-tab/36186/4 "2021-12-21T14:41:59Z")

</div>

I think you may have misread my reply.  
You don’t need 3 tabs - this can all be done on a single tab.  
In fact, using 3 separate tabs for this is just creating extra work that isn’t necessary.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [December 21, 2021, 2:55pm UTC](https://community.glideapps.com/t/three-different-views-of-the-same-tab/36186/5 "2021-12-21T14:55:02Z")

</div>

instead of creating separate tabs, use visibility conditions for your inline lists, so when you click show past talks… make an action to set column values to past and hide inline lists that shows future talks.

![Screen Shot 2021-12-21 at 9.54.47 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/0/10eb29170a9caac5e4fd4857a0f57d55b610cda1.png)
