I am trying to make a pagination for my table that is connected to a dataset but I am noticing that the pagination doesn’t work. I have 22 item in my collection and I set the dataset to display 20 per page. The pagination bar did show that there is 2 pages to the table but the number of item and its detail in both page 1 and 2 is the same. It showed the full 22 items in the dataset.
Elaborate more with your pagination issues, are you using code on your page to do it or are you just using the dataset’s own settings from within the Wix Editor itself?
https://support.wix.com/en/article/adding-and-setting-up-a-pagination-bar
https://www.wix.com/corvid/forum/community-discussion/trying-to-create-pagination-for-my-table
Have you seen the code pages about pagination?
https://www.wix.com/corvid/reference/$w.Pagination.html
https://www.wix.com/corvid/reference/$w.Table.html#pagination
https://www.wix.com/corvid/reference/$w.Table.html#PaginationOptions
https://support.wix.com/en/article/corvid-tutorial-creating-previous-and-next-buttons-for-a-dynamic-item-page-with-code
Also, search this forum for pagination and you will find a good many previous posts that might help you with this too.
I am using the datasets settings. I’ve read the top two links you’ve referenced. The first link does work for repeater but mysteriously, it bugged out with table. For the second link, yes I tried it, but the pagination bar it gave me is small and cannot be customized. Another thing is that, for the second link, to use the default table pagination, I can’t set the height of my table to be automatically set according to the amount of data, which resulted in the image below.
Pagination is set to 20 items per page. So, when the data contains 21 items, you get this white abomination.
For code, I’ve tried the simple ones:
$w(“#myTable”).pagination = {“type”: “pagination”, “rowsPerPage”: 4};
Which also doesn’t work when you set the table height to automatic.