We have a repeating grid loading with page list with pagination. Users can perform action like edit or delete using local action.
Suppose user is performing these actions in page (say 3) and after submitting the local action the cursor is again going to page 1. Now the requirement is on submitting the local action the cursor should be on same page (say 3) itself. Though it is an expected behavior we have to customize this feature.
I just tried to replicate the behavior you speak of using Pega7.1.6. I set up a screen with a repeat grid with 3 pages of items. Each row has a button where "on click" it does the action "Open Local Action". Set to After Action Refresh all items. When I click on the button in a row on the third page, the focus is set to that row. After completing the local action the focus is still on that row in the third page. It does not go to the first page of the list. I believe the OOTB behavior is already going to do what you are looking to have happen.
You may also want to explore the actions you can configure on an event (example, on click). Here is a link to the Help which provides guidance on what all the actions options do. There are two you might be interested in exploring. Set Focus and List Set Focus.
Actually i'm working this on pega 6.2. and to be specific on the issue. when i have done my action on page 3 then a pega out of box activity called "reloadsection" is called to refresh entire section and then it is going to page 1.
Posted: 6 years ago
Posted: 15 Aug 2015 2:02 EDT
Phani Sahukaru (sahup1)
Architect - Financial Services