Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

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

SA-31143

Summary



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.

Resolution



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 January 27, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us