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
- Create Section with repeat grid, sourced from data page, and refresh on each interaction.
- Sort the list.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.