Focus setting to first item after last item from list is removed
SummaryItems are removed form the first list and added to the second list. SetFocus option is used to set the focus on the current item in the list after removing the item. An error occurred when removing the last item from the first list and adding it to the new list. The focus is not on the new last item in the list.
Error MessagesPlease select a row
Steps to Reproduce
- Configure a repeat grid onClick events.
- Map data transform to load data to new list and remove it from the existing list.
- Refresh List.
- Set focus on the current item to get the focus to the selected item.
- Refresh other section.
Root CauseItem was removed from the list in the data transform before setting the focus in the action set.
ResolutionPerform the following local-change:
Refer the out-of-the-box control combination Build a List, and follow the action sets of the grid repeat layout. Remove the item by adding Delete Item after the data transform and the refresh section.
Published December 6, 2016 - Updated January 27, 2017