Support Article
Editable column in Repeat Grid appears as read-only
SA-40437
Summary
A column in a grid configured as editable appears as read-only. After sorting the grid, the column turns editable.
Error Messages
Not Applicable
Steps to Reproduce
- Configure repeat grid with some columns set to be editable.
- Run the use case.
Root Cause
The property sourcing the column (for example, ReceiptQty) is the target of a Declare Expression and therefore calculated automatically.
Resolution
Avoid direct updates to target properties. Do not change the value of a property computed by a Declare Expression rule through the Property-Set method, application of a data transform, or user input into a form. As you develop your application, PRPC attempts to detect and prohibit such situations.
To set the value of the property manually (through activity or data transform) remove, delete, withdraw the Declare Expression. To use the Declare Expression to set the value, configure the property in the grid as read-only.
Published August 14, 2017 - 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.