Support Article
Refresh list action is not working as expected
SA-20989
Summary
Developer is attempting to configure an interface that will select the first row on load, and enable the next row if the current row has a proper value. However, instead of the current row retaining focus on the refresh list action, the focus returns to the first row instead.
Error Messages
Not Applicable
Steps to Reproduce
Set up a grid as follows: use master-detail configuration for the grid and select embedded elsewhere with 'select first row on initial load' option.
Whenever a new column in a row is enabled, call the refresh list action.
When the first row last column value is changed, then the second row should be enabled.
When the second row last column value is changed, then the third row should be enabled, and so on.
Root Cause
The root cause is a design flaw in the JavaScript. The focus goes to first row on load but it should retain the old value on a refresh list action.
Resolution
Published March 18, 2016 - 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.