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

Validation error doe not display on a paginated repeating grid

SA-59682

Summary



Validation fails in all the pages of a repeating grid except the first.


Error Messages



Not Applicable


Steps to Reproduce

  1. In a section, configure a repeating grid with pagination.
  2. Configure the Validate rule at the property level and include the property as the source for the repeating grid.


Root Cause



When Pagination is applied on a grid and a Refresh triggered on the Wrapper section, only those records that are related to the first page are fetched from the server. Therefore, the Property level error for a row which belongs to any page other than the first is displayed at the top of the harness (Property level errors are set on properties only if they are available in the Document Object Model (DOM); else, they are set on the harness.)


Resolution



Perform the following local-change:
  1. Save As the pyPreGridUpdate activity to the current class where the Validate rule is created. 
  2. Uncomment Step 10 which contains the 'Implement this step for Paginate' option and add the 'obj-validate' method to that step.
  3. Enter the same Validate rule.

Published August 19, 2019 - 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