# Items in screen

**URL:** <https://community.glideapps.com/t/items-in-screen/37696>\
**Category:** Ask for Help\
**Created:** [January 26, 2022, 1:27am UTC](https://community.glideapps.com/t/items-in-screen/37696 "2022-01-26T01:27:49Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 26, 2022, 1:27am UTC](https://community.glideapps.com/t/items-in-screen/37696/1 "2022-01-26T01:27:49Z")

</div>

Hello gliders, how are you?  
I have an inline list with 52 items. I need to place 12 items on the screen. In the first one I solve by putting 12 in “Show see all for more than”…  
The next option in Glide is “See all” but I would need to show items 13 to 24 on the next screen, 25 to 36 on the next screen… and so on.  
Do you have any ideas to help me?

---

<div class="post-metadata">

**Author:** ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)\
**Post date:** [January 26, 2022, 1:33am UTC](https://community.glideapps.com/t/items-in-screen/37696/2 "2022-01-26T01:33:45Z")

</div>

Are the items always going to be in the same order and fairly consistent? You could number them and just filter each list to only show certain row numbers. At the bottom of each list, you could add a button for “next page” and assign it a “show new screen” action. On the new screen, add the same inline list, but filter it to show different column numbers.

There may be a more technical way to accomplish this, but this is probably the most basic especially if your data rows are static.

---

<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:** [January 26, 2022, 1:50am UTC](https://community.glideapps.com/t/items-in-screen/37696/3 "2022-01-26T01:50:39Z")

</div>

There isn’t a native feature to do this. Here’s how I would approach it:

> **[Bob's Project · Glide - 25 January 2022](https://www.loom.com/share/ab6d3dc4f362461da7e93cec614f780f)**

[Copy it by clicking here](https://cultured-visitor-2992.glideapp.io/gspk=cm9iZXJ0cGV0aXR0bzU5NDE&gsxid=Q9CRCDFpkU2X)

---

<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:** [January 26, 2022, 2:09am UTC](https://community.glideapps.com/t/items-in-screen/37696/4 "2022-01-26T02:09:36Z")

</div>

The math formula you were looking for is `Trunc(Row/12)+1`

 ![Screen Shot 2022-01-26 at 10.08.26 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/c/eca0a696140619c55e5766b1136f9fdd92cd0325.png)

---

<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:** [January 26, 2022, 2:53am UTC](https://community.glideapps.com/t/items-in-screen/37696/5 "2022-01-26T02:53:32Z")

</div>

Meh…that works too.

---

<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:** [January 26, 2022, 4:45am UTC](https://community.glideapps.com/t/items-in-screen/37696/6 "2022-01-26T04:45:29Z")

</div>

Actually, I just noticed that starts page 2 at row 12, instead of row 13.

`Trunc((Row-1)/12)+1` works better 🙂

---

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 26, 2022, 2:47pm UTC](https://community.glideapps.com/t/items-in-screen/37696/7 "2022-01-26T14:47:57Z")

</div>

Good Morning!  
Many thanks to @kyleheney , @Robert_Petitto and Darren\_Murphy (I didn’t mention him as a user because “Sorry, new users can only mention 2 users in a post.”) .  
All are great options for my problem.  
I have to especially thank @Robert_Petitto who dedicated himself to making a video detailing the solution.  
The solutions opened my mind to use in other applications.  
Really thank you very much for your help.

---

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 26, 2022, 3:03pm UTC](https://community.glideapps.com/t/items-in-screen/37696/8 "2022-01-26T15:03:42Z")

</div>

Hi @Robert_Petitto!  
Page 2 of the app starts at number 13, correct, but goes to number 25.  
The correct one would be 24.  
Pages should be multiples of 12.

---

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 26, 2022, 3:16pm UTC](https://community.glideapps.com/t/items-in-screen/37696/9 "2022-01-26T15:16:07Z")

</div>

When I apply the tip from @Darren_Murphy in the app created by @Robert_Petitto it’s perfect.  
Sorted out

---

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 26, 2022, 4:49pm UTC](https://community.glideapps.com/t/items-in-screen/37696/10 "2022-01-26T16:49:47Z")

</div>

Got carried away.  
In Data it’s perfect but I don’t know how to paginate in Glide.  
Need help…

---

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 26, 2022, 8:52pm UTC](https://community.glideapps.com/t/items-in-screen/37696/11 "2022-01-26T20:52:54Z")

</div>

How do I filter in the inline list? Can you help me?

---

<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:** [January 27, 2022, 1:09am UTC](https://community.glideapps.com/t/items-in-screen/37696/12 "2022-01-27T01:09:11Z")

</div>

Did you follow Bob’s example?  
If I recall correctly, he was using the button bar to increment/decrement the page number, and then using that as the filter.

---

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 27, 2022, 9:09pm UTC](https://community.glideapps.com/t/items-in-screen/37696/13 "2022-01-27T21:09:25Z")

</div>

In fact, it’s a mix of its formula and its app.  
The error occurs when an item is deleted.  
There you will have pages with less than 12 items.  
What would the suggestion be?

---

<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:** [January 28, 2022, 1:08am UTC](https://community.glideapps.com/t/items-in-screen/37696/14 "2022-01-28T01:08:09Z")

</div>

So the row numbering needs to be dynamic?  
hmm, that’s tricky. Glide doesn’t have any concept of automatic row numbering, so this would require a bit more creativity. I’ll think about this for a bit.

Update: Well, looky looky…

> [@RowID is great. Could REALLY use Row Number](https://community.glideapps.com/t/rowid-is-great-could-really-use-row-number/16834/13):
>
> RowID column Lookup to gather all rowIDs as an array Find Element Index column… Should I continue?) [image]

There is your solution 😉

---

<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:** [January 28, 2022, 4:27am UTC](https://community.glideapps.com/t/items-in-screen/37696/15 "2022-01-28T04:27:07Z")

</div>

So, just applying the solution above to your situation, you’ll need 4 columns:

- RowID
- Lookup column (All RowIDs)
- [Find Element Index](https://www.glideapps.com/plugins/index-in-array) column - gets the Index of the RowID from the lookup
- Math column to calculate the page number - `Trunc((Index)/12)+1`

With that solution, you can add/remove rows, and the page numbers will automagically re-calculate.

---

<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:** [January 28, 2022, 3:37pm UTC](https://community.glideapps.com/t/items-in-screen/37696/16 "2022-01-28T15:37:08Z")

</div>

@orci_astrogildo here is a copy of @Robert_Petitto’s app with the fix applied. As an added bonus I threw in an option to specify the number of rows per page. Enjoy 😉

> **[Pagination Concept](https://lonely-office-4156.glideapp.io/)**

---

<div class="post-metadata">

**Author:** ![orci\_astrogildo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/orci_astrogildo/32/33775_2.png) [@orci\_astrogildo](https://community.glideapps.com/u/orci_astrogildo)\
**Post date:** [January 28, 2022, 7:41pm UTC](https://community.glideapps.com/t/items-in-screen/37696/17 "2022-01-28T19:41:12Z")

</div>

Fantastic @Darren_Murphy  
It turned out much better than I would have imagined.  
Thank you so much again…

---

<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:** [January 29, 2022, 7:41pm UTC](https://community.glideapps.com/t/items-in-screen/37696/18 "2022-01-29T19:41:36Z")

</div>

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