I have a table layout that each line has a button to execute an activity and after it executes it refreshes the current section to present the updated information.
When this table is paginated and the user is on another page but the first (eg 7 of 10) when the users clicks this button and the page is refreshed, the list is reloaded with the 1st page active as per PEGA standard.
User is requesting that when this section is refreshed the active page that is shown on the table is the same one that he was at when he clicked the button.
Currently the action triggered on the click of the button (that's in the context fo the item in the sublist (pastaDigital.Documents(1).actDocumentList.Img)) adds a new item on the list one level above (pastaDigital.Documents) and this list is on the same section where the sublist is in, so we need to refresh the screen to show the new item (pastaDigital.Documents(11) in the example of the screenshot) to the user.
I have managed to change the default page on the list by private editing the activity pzGridSortPaginate but I couldn't make it work dynamically and not using pz rules.