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

Page is scrolling up when clicked near to hyperlink.



User is clicking on the "ManageReports". Clicking on these hyperlinks, navigates to screen accordingly.
When user scrolls towards the bottom of the list, now rather than clicking on Task Hyper Link, if user clicks anywhere within the box near the link, the screen view jumps back to the top of the page.

Error Messages

Not Applicable.

Steps to Reproduce

When a user scrolls towards the bottom of the list, and rather than clicking on the Task Hyper link, it misses and clicks the screen around it, the screen view jumps back up to the top of the page.

Root Cause

User has designed a Row Repeat inside a Repeating Grid. Upon clicking any where inside the row of the Repeating grid, the scroll bar is moving up to the top edge of the row.



1. To begin with, this is an expected behavior in PRPC, where the design structure is having a Row Repeat within a Repeating Grid. As per the grid design, PRPC will focus on to the row where the mouse click happened within a row. Hence the page is scrolling up when user clicks anywhere within the row of the repeating grid.

2. The below script must be included in all the places where the user do not wish to see this behavior:

pega.ui.grid.prototype.focusFirstElement = function(content, formElementsOnly){


Suggest Edit

Published January 30, 2016 - 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