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

Field in grid display as read-only on changing drop down value

SA-62993

Summary

On changing the drop down value, the fields of the grid display as read-only even though the When condition is false.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Create a drop down field on change of which When condition is enabled
  2. In another section, set a grid with 2 fields which are configured with read-only When condition
  3. Change the drop down valueThough the When condition is false, the fields display as read-only


Root Cause



When condition is evaluated during Document Object Model (DOM) rendering. As the grid section is already rendered, it does not refresh with the When condition.


Resolution

Perform the following local-change:

Add Refresh-OtherSection in the drop down OnChange event to refresh the grid section.
 

 

Published August 24, 2018 - 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