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

Grid row once expanded, not getting closed



On expanding the grid row, modifying the details, and on clicking the Save button, the row does not collapse.

Error Messages

Not Applicable

Steps to Reproduce

  1. Add a repeating grid layout with expandable master-details configuration.
  2. Run the case and expand any row.
  3. Modify the details.
  4. Click the Save button of the expanded section. The row does not collapse.

Root Cause

A software use or operation error.

Source of the grid is a pagelist which was populated in a different screen (for example, screen1). On screen1, an expandable section was configured to add or edit rows to the pagelist with multiple expandable row checkbox checked. The configuration was later changed to Modal Dialog instead of Expandable section.

Since the checkbox for Multiple Expandable Rows was already checked, the grid source (wihch is the pagelist) considered pyExpanded property as true always.

When the pagelist was referred in the grid on the second screen, it did not collapse since pyExpanded was true always.


Perform the following local-change:
  1. On screen one, change the grid Edit configuration to Expandable Pane.
  2. Uncheck the Multiple Row expanded checkbox.
  3. Change the grid Edit option to Modal Dialog.


Published December 14, 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