Support Article

Repeating Grid not acurately showing "add" and "delete" options

SA-27757

Summary



A Repeat Grid is configured to take 10 rows of input from an end user. After the 10 throws added, only the "delete" button remains visible. If one entry from the grid is deleted, the grid entry count comes down to 10, but the "add" button never returns until after the case is closed and reopened. 

Error Messages



Not Applicable


Steps to Reproduce

  1. Create a repeating grid,
  2. Copy PegaDefaultGridIcons section.
  3. Add logic to display an "add" and "delete" button.
  4. Add 10 rows and then delete rows.


Root Cause



On deletion of the 10th row, the screen needs to be refreshed to make the :"add" button visible again.

Resolution



A 'Refresh - Harness' Action from the 'Click' event on the Action tab of the 'Delete' button is required. 

Published September 9, 2016 - Updated September 17, 2016

Have a question? Get answers now.

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