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

Scrollbar does not display on adding a row item to a table grid

SA-81477

Summary



On adding a row item to the table grid at runtime, the scrollbar does not display and the user cannot navigate the screen. This occurs in the Chrome browser. The scrollbar displays on refreshing the browser; however, all input is lost.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure a Table grid with multiple columns.
  2. onClick open the flow action to display fields to be entered.
  3. On the Add button, configure a Run DataTransform and AddItem source from the data page.
  4. Execute the use case. The horizontal and vertical scrollbars display.
  5. Enter a row for the grid.
  6. Enter the fields to record the values in the modal dialog.
  7. Click Submit


Root Cause



When the modal dialog displays on the screen, the parent screen's vertical scrollbar is hidden. Using the Developer toolbar, the style appears as below:

overflow-y:hidden !important;


Resolution



Perform the following local-change:

For the Vertical scrollbar to display, add the below script in the UserWorkForm such that the harnessBody is scrollable always:

<style> .harnessBody{  overflow:auto !important }</style>

For the Horizontal scrollbar to display, perform the below steps:
  1. Create a style sheet (for example, MyStyles.css).
  2. Invoke the style sheet in the harness (in question) on the 'Scripts and Styles' tab.
  3. Write the below code in the MyStyles.css rule:

    div#HARNESS_CONTENT.harnessContent{
    //background-color:green;
    width:auto;
    height:auto;
    overflow:auto !important;
    }

Published 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