How to retain a selected row in repeating grid layout on page load.
We have a requirement to retain the selected row in repeating grid layout after page refresh and also when user navigates to other assignment of the screen flow where we are displaying the same repeating grid layout. We are using Pega version 7.2.1
On the grid, click the magnifying glass next to the edit mode. This will open up the grid actions.
Add a click action to run a data transform, or a set value. The primary page will be the item you clicked on. Set something on pyWorkPage (you can copy the entire page that was selected, or just the ID or whatever) on click.
The saved information can be used for the later grid re-display.
We had similar requirement to retain user selection. So we captured the user selection in a requestor level data page and used that to show the row highlighted by using background color when user comes back to that screen.