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

Expand/Collapse button does not load defer-loaded section

SA-32746

Summary



An Expand/Collapse button is configured to expand and collapse sections.User observes an issue where sections are set up for deferred load, where clicking Expand/Collpase does not render the section.


Error Messages



Not Applicable


Steps to Reproduce

  1. Add a dynamic layout.
  2. Add a button to the dynamic layout.
  3. Add a onclick event Expand Collapse.
  4. Add one for e Dynamic layout below the button.
  5. Include a section with in the newly added dynamic layout .Ensure that it is set to collapsible header with "Defer load" checked.
  6. Now click on expand collapse button and you will see the section doesn't gets displayed.


Root Cause



The content of the section is not sent to the server. The section content is unavailable before the user clicks on section header. At runtime, if the user tries to expand the section by clicking on the header the expand / collapse works as expected. This is because the data is sent to server at runtime.

Resolution



In case of collapsible header with defer load the section data is available only when the user clicks on the header manually. Hence the behavior reported is expected behavior.
Suggest Edit

Published February 4, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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