Support Article
Grid row once expanded, not getting closed
SA-65231
Summary
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
- Add a repeating grid layout with expandable master-details configuration.
- Run the case and expand any row.
- Modify the details.
- 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.
Resolution
Perform the following local-change:
- On screen one, change the grid Edit configuration to Expandable Pane.
- Uncheck the Multiple Row expanded checkbox.
- Change the grid Edit option to Modal Dialog.
Published December 14, 2018 - 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.