The community member is looking for a way to add pagination to a collection that retrieves data from an API on their Webstudio website. They have tried using tabs, but they don't seem suitable for data pagination. The community member is wondering if there is a more suitable tool for pagination.
In the comments, other community members suggest using links and expression editor for pagination, and mention that the community member should check the API documentation for the Kernex CMS they are using, which provides pagination functionality using limit and skip parameters. They also recommend looking at examples like the Ghost Posts template in the marketplace.
The community member then clarifies that they want to add buttons and other UI elements to navigate through the different pages of the pagination, rather than just using the limit and skip parameters in the API calls.
I'm looking for a way to add pagination to the collection that retrieves data from an API on my Webstudio website. I've seen that tabs exist, but they don't seem suitable for data pagination. And the only feature I've been able to find that could work properly would be to integrate code to implement this functionality.
Is there a more suitable tool for pagination? If so, thank you in advance for your response!
I guess it would come from andromo? You would use links typically that put query params in the url that the resource query would use either with offset and limit or cursors. Check the marketplace for examples like Ghost Posts or Hygraph Posts
Found their docs, they just werent available on mobile. They use limit and skip. Check the Ghost Posts template in the marketplace. It has a pagination using the same method. https://www.kernex.io/docs/rest-api#find-resources