Support Article

BusyIndicator is displayed on the first row in grid

SA-37226

Summary



BusyIndicator is always masking the first row in Repeat Grid


Error Messages



Not Applicable


Steps to Reproduce

  • Create Grid with two columns
  • In the secons column add a section, say SecA
  • On change of first column Refresh SecA


Root Cause



There is no call to show busyIndicator when LaunchHarness is called

Resolution



We need to do 2 changes:

1. In the navigation rule, pyCaseManagerLinks, for all the links where busy indicator is desirable; add runscript as the first action for click event. Give the function name as showBusyIndicator.

2. In userworkform following script needs to be added:
<script>
function showBusyIndicator() {
pega.u.d.setBusyIndicator();
}

pega.u.d.attachOnload(function() {
var busyIndicator;
if(window.frameElement) {
if(!pega.u.d.gBusyInd)
busyIndicator = window.parent.pega.u.d.gBusyInd;
}
if(busyIndicator && busyIndicator.hide) {
busyIndicator.hide();
}
});

</script>

The above change resolved the issue

Published April 28, 2017 - Updated May 14, 2017

Have a question? Get answers now.

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