Support Article

Focus setting to first item after last item from list is removed



Items 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 Messages

Please select a row

Steps to Reproduce

  1. Configure a repeat grid onClick events.
  2. Map data transform to load data to new list and remove it from the existing list.
  3. Refresh List.
  4. Set focus on the current item to get the focus to the selected item.
  5. Refresh other section.

Root Cause

Item was removed from the list in the data transform before setting the focus in the action set.


Perform 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

Have a question? Get answers now.

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