Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Data page Refresh interferes with row sorting in Repeating Grid

SA-24879

Summary

If a repeat grid with a refresh row action is sourced from a data page that is configured to refresh on each interaction, then clicking on a row causes the data page to be refreshed.
And the row returns to its pre-sorted value.


Error Messages


Not Applicable

Steps to Reproduce

  1. Create Section with repeat grid, sourced from data page, and refresh on each interaction.
  2. Sort the list.
  3. Click on list item.


Root Cause



A row refresh causes the data to be retrieved from the data page which is a new interaction and causes the data to refresh.

The sort order of the data page is defined by the data page configuration.

Resolution



If it is a requirement to use a data page with refresh per interaction strategy as the source for a grid then this behavior should be considered as part of the design.

Solutions include:

Solution 1: Update the refresh strategy of the data page to use the "Reload if older than" and "Do not reload when" settings.



Solution 2: Disable grid sorting.


Solution 3: Using static data for the grid. For example source the data from a property that is copied from the data page.

Published April 3, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us