Support Article
Busy indicator missing on click of an icon in a repeat grid
SA-22180
Summary
Busy indicator does not appear on screen before the refresh with Pega 7.1.8.
Error Messages
Not Applicable.
Steps to Reproduce
1. Create a repeating grid, and add an icon to it.
2. Add click event.
3. Add actions to call an activity and refresh section.
4. Run, and click the icon.
Root Cause
This is an expected behavior.
Resolution
Perform the following local-change.
1. Create a text file (JS) or update userWorkForm with the below code. userWorkForm changes are available throughout the application. Hence include the script there if you plan to use this functionality across the application. If not, create a text file and include the script there.
<script>
function setBusyIndicatorCustom(){
pega.u.d.busyIndInterval = 0;
pega.u.d.setBusyIndicator();
}
function resetBusyIndicatorCustom(){
pega.u.d.busyIndInterval = 2000;
if(pega.u.d.gBusyInd){
pega.u.d.gBusyInd.hide();
}
}
</script>
2. If making chnages in userWorkForm, skip this step. If using a custom script file, ensure to add the script to "Scripts and Styles" tab of the harness in question.
3. Modify the properties to include functions in Step 1.
Published June 1, 2016 - 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.