Support Article

Sorting grid does not maintain key value for link control

SA-36302

Summary



User is facing issue where grid sorting is not updating the key values for link.

A repeating grid is scoured directly from data page.

In the repeating grid column a Link property is configured.

The link property copies the value to another property upon clicking on, using an activity. After sorting if we click on any particular row instead of that particular row some other row value is getting passed.


Suppose there are 3 row values as below:

Row1
Row2
Row3

and after sorting, the values are:

Row3
Row2
Row1

then if user clicks on Row3 the Row1 key value is getting passed.

It seems like rehashing is not happening after sorting.


Error Messages



Not Applicable


Steps to Reproduce



1.Source a repeating grid from data page.

2.Use Link control for one of the column property in repeating grid

3.Configure a actionset upon clicking the link column to copy the value to another property.

4.Observe the value passed after sorting and clicking on a particular row.


Root Cause



User is using "Reload once per interaction" refresh strategy for the data page when clicking on the link after sorting the list is getting refreshed and maintaining the unsorted fresh list.

Resolution



User is suggested to either not to use "Reload once per interaction" or just to source the repeating grid with report definition.

Published April 11, 2017 - Updated April 26, 2017

Have a question? Get answers now.

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