Support Article
Embedded repeating grid appears in read only mode after refresh
SA-29304
Summary
After a refresh section is invoked, embedded repeat grids become read-only. (In fact, everything in the embedded section becomes read-only.)
Error Messages
Not applicable
Steps to Reproduce
Refresh a section which contains a FilePath control, and an embedded section with editable fields.
Root Cause
A defect in Pegasystems’ code or rules.
This issue occurs in the presence of a FilePath control.

Resolution
This issue is scheduled to be addressed in release Pega 7.2.2.
A local change is currently available until that time.
Create a custom non-auto generated control with the following script:
<%
if(tools.hasInputEnabled()) {
tools.putParamValue("ReadOnly", "");
}
%>
Then place this custom control on the parent section that is being refreshed.
Published October 27, 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.