I am using a preload activity on a Dynamic Layout to display the parent rows.
Each parent row contains a radio button field (Yes / No).
When the user selects Yes in the parent row:
The expand icon/button becomes visible.
On expanding the row, the child rows are loaded using a prechildload activity.
The child rows are visible and editable, as we selected Yes in parent
Now the user selects No in the parent row:
I want the child rows to become disabled (read‑only) even if they are expanded.
The enable/disable behavior of the child rows should be controlled dynamically based on the value selected in the corresponding parent row.
I attempted to refresh the section to handle the change in the parent row value, but this causes the parent row value to be cleared as well. Additionally, I do not want to refresh the child rows of other parent rows. My requirement is to refresh only the child rows of the specific parent row whose value is being changed.
What is the Pega version you are working on? and is it Theme-Cosmos/UI-Kit ? or Constellation ?
Regardless of the UI methodology, the UI behaviour you are expecting is too complicated and involves heavy UI customization with custom controls or custom components. Difficult to maintain in future as well.
Rather jumping into the technical implementation upfront, let’s just focus on the business outcome you want to achieve and based on that you can see what best you can do OOTB. You may want to provide more details about the actual business requirement so that we can suggest a viable approach.
If you are in traditional UI, you can have a look at the Navigational Tree approach which you can find in the UI Gallery as shown below and see if you can utilize it,
If it’s a constellation, i am afraid it might not be possible exactly how you mentioned, but may be in a different way and that too after clearly understanding the business requirement.