# Table Element Not Honoring Pagination

**URL:** <https://community.weweb.io/t/table-element-not-honoring-pagination/700>\
**Category:** Ask us anything\
**Created:** [June 24, 2022, 2:06am UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700 "2022-06-24T02:06:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![patopt](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@patopt](https://community.weweb.io/u/patopt)\
**Post date:** [June 24, 2022, 2:06am UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/1 "2022-06-24T02:06:09Z")

</div>

I’ve got an odd problem. I’ve set max returned objects to 6 in my data source (xano) - You can see it working properly in this screenshot.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/3e0278038d330e7499531e8dde9a0d07e9d4c622.png)

I then am using a table element to display this data, and I want to paginate it. However somehow the table element is not honoring the max returned items per page.

Here you can see 8 rows being displayed and the pagination widget just going to default.

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/9c1cebbe1a9420ff6ed22350b9760e6772aa6bef.png)

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/c03a361cbeaa0c81f964c05eeb9a270e086cb8f3.png)

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/cfe813526ea10169f2ae94fc0e220f483e1f3ce9.png)

I have tried quite a few things here, but am wondering if this is possibly a bug?

---

<div class="post-metadata">

**Author:** ![patopt](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@patopt](https://community.weweb.io/u/patopt)\
**Post date:** [June 24, 2022, 2:15am UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/2 "2022-06-24T02:15:15Z")

</div>

Actually one update on this, I turned off formatting in the Data Sources and it actually looks like pagination is maybe not working at all with Xano results?

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/59ff041cf530ae7c1b28fab19c209068c3bec4ff.png)

---

<div class="post-metadata">

**Author:** ![kyanaloe](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/kyanaloe/32/1076_2.png) [@kyanaloe](https://community.weweb.io/u/kyanaloe)\
**Post date:** [June 26, 2022, 7:11pm UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/3 "2022-06-26T19:11:43Z")

</div>

I’m experiencing this problem as well, not sure how to fix it

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 27, 2022, 2:27pm UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/4 "2022-06-27T14:27:19Z")

</div>

Hi @patopt 👋

Are you trying to set pagination on the backend side or on the frontend side?

i.e. would you like Xano to send 6 items at a time to WeWeb or would you like Xano to send all the items to WeWeb and restrict the display to 6 items in WeWeb?

---

<div class="post-metadata">

**Author:** ![patopt](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@patopt](https://community.weweb.io/u/patopt)\
**Post date:** [June 27, 2022, 2:53pm UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/5 "2022-06-27T14:53:10Z")

</div>

Trying to do this on the frontend side with Weweb.

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 27, 2022, 3:28pm UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/6 "2022-06-27T15:28:14Z")

</div>

Ok great, I’m having the same issue in one of my projects. Let me check with the team and get back to you asap.

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 27, 2022, 3:35pm UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/7 "2022-06-27T15:35:12Z")

</div>

Ah! My bad! Just remembered for the pagination you need to bind to the collection name not collection name [‘data’]

 ![CleanShot 2022-06-27 at 17.33.16@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/1X/89e654df5cdf2821349c34eaf697bbee071fba86.jpeg)

Sorry, it’s been a long day! 😅

I’ve included a warning [in the user doc](https://docs.weweb.io/frontend-pagination/) but it’s still not obvious. Need to think of a message to show in-app to avoid the confusion.

---

<div class="post-metadata">

**Author:** ![patopt](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@patopt](https://community.weweb.io/u/patopt)\
**Post date:** [June 27, 2022, 6:01pm UTC](https://community.weweb.io/t/table-element-not-honoring-pagination/700/8 "2022-06-27T18:01:50Z")

</div>

That looks to have done the trick, thanks!
