16
Views
7
Comments
Pagination Reactive - Reset Page Number
Question
Application Type
Reactive
Service Studio Version
11.9.0 (Build 33413)

Hi,

Does anyone know how to reset page number (back to Page 1) for pagination under reactive?

For example I am in Page 5 ((MaxRecord is set to 5).

Then I perform a search and aggregrate has returned only 1 record. The current page is still showing 5 instead of 1.


This can be done in traditional web's richwidget by using "List_Navigation_ResetStartIndex". But I don't think I found the similar action for reactive. I have try reset the StartIndex to 0 but still cannot reset the page number back to 1.

Regards,
Soon



Rank: #5586

Hello Soon,

Have you tried setting the StartIndex variable to 0 when you run the search ?



Cheers!

Pedro

Rank: #295

Hi Soon,

Please take a look at the oml attached.


Hope this helps works!! Thanks ;)

ReactivePagination.oml

Hi Soon,

I just updated the value of the StartIndex variable to 0 and it worked. Can you post .oml to help with the analysis?

Best Regards,

Eduardo

Rank: #1538

Apparently found out this doesn't work when set "ShowGoToPage" = True.



Does anyone have experience able to get the pagination reset when set "ShowGoToPage" = True?

Rank: #295

Hi Soon,

I did not find anything to reset pagination on button, but you can enter 1 into the  input box highlighted below and it will jump you to the first page.


Hope this works , Thank you :)