RG with pagination >> Finding the right page to go

Hi,

I have a RG with pagination (limited number of rows) with a datatype “Answers set”.
This RG also has a custom state of type “Answers set”.
When the custom state is changed (by a user action elsewhere) I’d like to show/highlight that “Answers set” in my RG but in order to do that I need to know to what page of my RG I need to go…

I was thinking that if I could find the position (index) of that given “Answers set” (custom state) in the list of Answers set from my RG I could then calculate the page number and go to page X. But I don’t know how to find the index of that Answers set in my RG…and I’m not sure there isn’t an easier way to get to the same result.

Thanks for your help :crossed_fingers:

Found the easiest possible way with @eli 's fantastic plugin 1T - Index Finder Plugin

Took me 20 sec to figure out how to use it and it works like a charm. Thanks @eli !

1 Like

One more thing…

When using 1-T Index Finder make sure you use the proper action.

I first used the action picked from Plugin > Find Index (Backend). It was there, I didn’t think any further and used it. It did the job but… it was taking almost 50 seconds to find the index I was looking for :slightly_frowning_face:

After some investigating, I found another action from Element Actions > Find Index a Find Index
This is the one you want to use… not only does it do the job, it does it at lightning speed! We’re not talking 50s anymore. For the same search it takes milliseconds :+1:t2:

1 Like

Glad this is working well for you @tbenita, and for the additional details! The page element is definitely the way to go if you are setting it up on the frontend. :beers:

1 Like

@tbenita @eli

I seem to be missing something. The Element item is not letting me select anything.
Comes up blank. Screenshot below.

1 Like

Never mind, found the issue.
I needed to put it on the page itself, not in a repeating group.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.