I’m having trouble with
Showing the total number of pages in pagination bars used on dynamic pages with repeaters connected to datasets.
Working in
Wix Studio Editor
Site link
What I’m trying to do
I would like to display the total number of pages in pagination bars, preferably without having to write custom code because… this should be basic functionality. Ideally like:
<< < 1 2 … 99 > >>
What I’ve tried so far
I have clicked on every clickable setting/button within the component; documentation and community content have not yielded any solutions.
Extra context
N/A
Rant
The Studio Editor sometimes feels like a step backwards from the Wix Editor. I remember the pagination bars offering more functionality than the current one, which only displays the current page.
According to this, seems one of the pagination styles Wix offers looks somewhat similar, with a field for entering page number, instead of buttons
< [ x ] / y >
Thanks for your suggestion and the page you linked is one I’ve already visited and tried. The option you’re suggesting is only available in the older editor (“Wix Editor”) and not available in the new/current editor (“Studio Editor”). If you click on the “Studio Editor” tab, you’ll notice that the pagination components in the screenshot only display the current page.
I don’t see any option to modify the Pagination element, perhaps you will need to custom code some elements to behave the same way the pagination does, instead
This method, as well as the others within the $w.dataset may help you achieve that