I have a page of items from a collection that I have back end paginated in Xano to show 12 at a time using the newly released tutorial: Pagination: why, when, where, and how? - YouTube
I have the object “paginator” variable all set up and the paginator works fine.
However, I am facing an issue that I need help with. I have 2 pages (A & B) where I have binded this same back-end paginated collection.
Page A looks like that:
Users can filter and search and then click the item that they want to know more about. There is a paginator here. From there, they will change page. Upon clicking on “Edit”, the selectedVar is changed to contain the item details to pass to the next page.
Page B looks like that:
Basically it’s an editor and I have binded the exact same collection with paginator set up as per the video instructions. The information on the right shows up fine, it is basically displaying the info from the selectedVar. The problem is on the left.
Page B’s paginator settings are basically following the video tutorial:
The PROBLEM: When I click on an item in page A, IF this item happens to be on page 2 onwards of B, the paginator in page B defaults to page 1 instead of 2/3/4 etc.
SOLUTION NEEDED: How do I get it to NOT show page 1 when I change page to B, but the page that the selected item is showing?
I think I need some sort of workflow but I am NOT sure exactly what.
In a previous thread (same issue), it was suggested for me to find the index and which page the selected item is on, however, I do not know how to find this information, and when I do have that information, how do I pass it on to page B’s paginator?
Many thanks!