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

Focus shift to extreme left on click on Grid row

SA-39598

Summary



Repeating grid is configured with over 25 columns, Set focus:Current item is set on the grid.

At run time, when user moves to the right most column and click on any row, the focus moves to first column of the grid.

Ideally the focus must remain on the same column.


Error Messages



Not Applicable


Steps to Reproduce



1. Configure a repeating grid layout with 25+ columns.
2. Set focus to current item on the grid.
3. At run time, move to the right most column and click on any row, the focus moves back to the first column.

Root Cause



The grid that is configured as read only grid and when no action is specified on the individual cell ( grid properties ), the focus moves to the first element of the row explicitly.

When “Editable” is configured as edit options for the last column, then the focus remains as expected.

Resolution



Remove the setFocus from action of the Grid property panel (only for ready only grid), in that case row does not get the focus and it will move anywhere.

Published August 14, 2017 - Updated 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