Support Article

Issue action on grid repeat not done on right item

SA-25764

Summary



Actions performed on a sorted repeat grid that has been sourced from a data page can execute against the wrong data if the data page is configured to refresh per interaction.


Error Messages



Not Applicable 


Steps to Reproduce

  1. Source a grid from a data page that refreshes per interacion.
  2. Configure row actions.  For example, a smart info to display more data.
  3. Sort the grid and perform the action.
  4. Action is performed against the row in that position on the refreshed data page on the clipboard, not the on screen row.

Root Cause



This is expected behavior.

When a data page is configured to refresh per interaction, any action that requires the system to refer back to the data page will trigger a refresh.  If the sorting of the refreshed data page is different to the on screen data then the rows on screen are in different positions to the data on the clipboard.

Resolution



Sourcing data for a grid from a data page using the refresh per interaction setting is not reccommended for grids that require a lot of user interactions with the data.

Possible solutions include:

- Disable sorting on the grid.  If the data page refreshes then then data will still be in the same order as on screen data.
- Disable "Refresh per interaction" and define a suitable refresh strategy.
- Source the grid from static data.  For example, a copy of the data page data in a page list property.

 

 

Published July 19, 2016 - Updated July 30, 2016

Have a question? Get answers now.

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