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

The scrollbar does not display after expanding the layout

SA-48159

Summary

Unable to resize the screen after expanding the layout. The scrollbar does not display and as a result unable to view the content.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Add a tabbed layout group in harness
  2. Add a few section rules in a tab add so that page height is equal to the screen height at runtime
  3. Add a collapsed tree grid in one of the section rules present at end of the screen
  4. Run the case and expand one of the grid rows

Root Cause



A defect in Pegasystems’ code or rules. On expanding the window, the height is not re-calculated due to which the screen is unable to adjust.


Resolution



Perform the following local-change:

1. Add the below script in the section which is not auto-generated and is included in the tab:


<script>

var setTabHt = function(){
var Tempht = $(".screen-layout-region-main").height();
$(".layout-body .custom_tab2")[0].style.height= Tempht -30 +"px";
$(".layout-body .custom_tab2")[0].style.overflow= "auto";
}

setTimeout(setTabHt ,100);
$(window).resize(setTabHt);
</script>


2. Add 'custom_tab2' custom style class in the dynamic layout of included section in the tab



Suggest Edit

Published February 5, 2018 - 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