# Pagination topic

**URL:** <https://forum.bubble.io/t/pagination-topic/102189>\
**Category:** Need help\
**Created:** [July 17, 2020, 10:10am UTC](https://forum.bubble.io/t/pagination-topic/102189 "2020-07-17T10:10:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep.m](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sandeep.m](https://forum.bubble.io/u/sandeep.m)\
**Post date:** [July 17, 2020, 10:10am UTC](https://forum.bubble.io/t/pagination-topic/102189/1 "2020-07-17T10:10:49Z")

</div>

I have created pagination setup for repeating group  
in one page 5 records should be display and i have add a button for next 5 records to be display like that so on  
I have 22 total records so in first page it displays 1 to 5 records then we click on next button it display for me 6 to 10 again 11 to 15 and 16 to 20 but at the last page next 21 and 22 record should be display but i am getting 17 to 22 records displaying but i need to display only 2 records.

And again when we click on previous button i need to get reverse process 16 to 20 and 6 to 10 and 1 to 5 like so on

Thanks in advance

---

<div class="post-metadata">

**Author:** ![SerPounce](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/serpounce/32/62068_2.png) [@SerPounce](https://forum.bubble.io/u/SerPounce)\
**Post date:** [July 17, 2020, 10:31am UTC](https://forum.bubble.io/t/pagination-topic/102189/2 "2020-07-17T10:31:54Z")

</div>

I believe that last page showing 5 records can’t be fixed. I tried a while ago and annoyingly, that is the expected behavior.

> [@Last page of fixed number of cells RG - unexpected results](http://forum.bubble.io/t/last-page-of-fixed-number-of-cells-rg-unexpected-results/80368):
>
> Situation: Fixed number of cells RG with 120 records displaying 25 records per page Nav controls implemented and working fine Exception: Nav to last page shows unexpected results Expected results: Show records 101 - 120 (the remaining records that didn’t display on penultimate page) Actual results: Shows records 95 - 120 (the last 25 records) I have tried to use the :items from, but this still shows 95 - 120 as shown here: [Screen Shot 2020-02-27 at 5.11.26 AM] Is this expected behavi…

---

<div class="post-metadata">

**Author:** ![FJP](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@FJP](https://forum.bubble.io/u/FJP)\
**Post date:** [July 17, 2020, 11:08am UTC](https://forum.bubble.io/t/pagination-topic/102189/3 "2020-07-17T11:08:37Z")

</div>

Try this. ([Page count with Repeating Groups](http://forum.bubble.io/t/page-count-with-repeating-groups/73204/4))

---

<div class="post-metadata">

**Author:** ![SerPounce](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/serpounce/32/62068_2.png) [@SerPounce](https://forum.bubble.io/u/SerPounce)\
**Post date:** [July 17, 2020, 2:07pm UTC](https://forum.bubble.io/t/pagination-topic/102189/4 "2020-07-17T14:07:39Z")

</div>

Brilliant! Thanks for sharing.

---

<div class="post-metadata">

**Author:** ![FJP](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@FJP](https://forum.bubble.io/u/FJP)\
**Post date:** [July 17, 2020, 6:21pm UTC](https://forum.bubble.io/t/pagination-topic/102189/5 "2020-07-17T18:21:56Z")

</div>

Your welcome

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [September 25, 2020, 10:10am UTC](https://forum.bubble.io/t/pagination-topic/102189/6 "2020-09-25T10:10:50Z")

</div>

Closed on September 25, 2020, 10:10am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
