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

Activity does not run during drag-drop of the row

SA-13617

Summary



Row actions, run activity and set focus, on a single click, is added in a repeating grid. Both work when directly clicking on the row but when the rows are being re-ordered, only the set focus works and not the activity.


Error Messages



Not Applicable


Steps to Reproduce



1. Create a repeating grid.
2. Add actions: Run Activity and Set focus, on a single click.
3. Enable row re-ordering from row operations.


Root Cause



The configuration of the row re-ordering for the repeating grid does not support Run Activity or any of the other Ajax calls, except for the click action which is called implicitly and hence, the set focus is works in this scenario.

Resolution

When a setFocus action is configured on a Grid, it turns focusable (for example: for accessibility purposes) and that information is used to highlight the drag-drop row. Hence, it is not that the setFocus action is fired on drag-drop.
For example: Configure setFocus on Previous Row. When the user selects row2, row1 is highlighted. But in case of drag-drop, on the same configuration, the drag-drop row would be the only highlighted row and not its previous sibling. 

Also note that, currently drag and drop events are not supported for actions. Hence Run Script or Run Activity can not be fired on drag-drop.

Published August 31, 2015 - 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