Support Article
Activity does not run during drag-drop of the row
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.