# Table component pagination issue

**URL:** <https://community.glideapps.com/t/table-component-pagination-issue/75457>\
**Category:** General\
**Tags:** components\
**Created:** [August 6, 2024, 2:35pm UTC](https://community.glideapps.com/t/table-component-pagination-issue/75457 "2024-08-06T14:35:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Itai\_Peer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/itai_peer/32/75705_2.png) [@Itai\_Peer](https://community.glideapps.com/u/Itai_Peer)\
**Post date:** [August 6, 2024, 2:35pm UTC](https://community.glideapps.com/t/table-component-pagination-issue/75457/1 "2024-08-06T14:35:52Z")

</div>

Hi Gliders  
I encountered an issue that I’m not sure if its a bug, or how can I resolve it.

**TLDR:** I have a table with pagination and filters. When users change filters, the table reloads but doesn’t reset pagination, which causes issues when the number of pages changes. A reset filter button fixes it temporarily, but it’s not ideal for UX. Looking for a better solution.

I have a page with table component, and when there are many results it shows pagination below.  
In the same page I have choice components that filter that table.

The issue is when for example a user scrolls through the table results with the pagination.  
Lets say he scrolls to page 4 of the results out of 20 pages.  
Then, he changes some of the filters, now the total pages are 9.  
You see the “loading” pop up and the results are filtered, however the user is still in page 4…  
An expected behavior would be that when a filter changes and the table loads again, the page selection would reset and go back to 1…

This becomes a real issue if for example the new filter reduces the total pages to 3.  
Now the user will not see any results since he is on page 4 of the pagination…

In order to overcome this, I have put a “reset filter” button which clears all of his selections and when he chooses again, the pagination goes back to 1.  
However this is not a viable solution as far as expected UI/UX basics…

Anyone encountered this issue?

Thanks!

---

<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:** [August 6, 2024, 11:50pm UTC](https://community.glideapps.com/t/table-component-pagination-issue/75457/2 "2024-08-06T23:50:28Z")

</div>

I agree with the problem reported here, and you should talk to the team about it.

> [@Community Update: Support chat in the Glide builder speech\_balloon](https://community.glideapps.com/t/community-update-support-chat-in-the-glide-builder/73866/1):
>
> Hello Gliders! You can now reach our support team directly from the Glide builder. Use the updated messenger (powered by Intercom) to ask for help, report issues, or share your feedback while you’re working on your Glide app. [Opening a support chat] P.S. We’re investigating a bug with the Intercom messenger not recognizing when a user is on a paid plan. If that happens to you, try the following: Navigate into a paid team Open the messenger Reload the webpage Open the messenger again and s…

> [@Itai\_Peer](#):
>
> This becomes a real issue if for example the new filter reduces the total pages to 3.  
> Now the user will not see any results since he is on page 4 of the pagination…

However, I tried to reproduce this, and if your current page is larger than the filtered pages, it brought me back to the last page of the filtered results, so in your example, I will be brought to page 3.

---

<div class="post-metadata">

**Author:** ![Itai\_Peer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/itai_peer/32/75705_2.png) [@Itai\_Peer](https://community.glideapps.com/u/Itai_Peer)\
**Post date:** [August 7, 2024, 11:48am UTC](https://community.glideapps.com/t/table-component-pagination-issue/75457/3 "2024-08-07T11:48:06Z")

</div>

> [@ThinhDinh](#):
>
> However, I tried to reproduce this, and if your current page is larger than the filtered pages, it brought me back to the last page of the filtered results, so in your example, I will be brought to page 3.

You are correct, the case I describe for the no results, happened when I applied a filter that returned… well… no results! haha

Thanks for the input. I will report to the team about this

---

<div class="post-metadata">

**Author:** ![Itai\_Peer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/itai_peer/32/75705_2.png) [@Itai\_Peer](https://community.glideapps.com/u/Itai_Peer)\
**Post date:** [August 8, 2024, 7:58am UTC](https://community.glideapps.com/t/table-component-pagination-issue/75457/4 "2024-08-08T07:58:38Z")

</div>

> [@ThinhDinh](#):
>
> I agree with the problem reported here, and you should talk to the team about it.

I talked to the team and the issue has been added to their backlog to be fixed!

---

<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:** [August 8, 2024, 9:29am UTC](https://community.glideapps.com/t/table-component-pagination-issue/75457/5 "2024-08-08T09:29:06Z")

</div>

Thanks for the update!
