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

Tab next functionality is not working as expected



User reported that when using Tab function, to enter the field values for Repeating grid on the screen; it is not picking up the row but instead it is picking the header or label columns for the Grid in Pega 7. However this was not happening in Pega 6.x version. 

Error Messages

No error message.

Steps to Reproduce

a) Create a section containing a repeat grid. Place an input text box before this grid. navigation instead of clicking
b) At run time, click in the input field outside the repeat grid. This shows the cursor inside it.
d) Now, press 'tab' key. Observe that first column header of repeat grid gets focused, instead of the grid row.


Root Cause

The reported behavior is due to new design changes introduced with Pega 7.

In Pega 7, the 'th' tags associated with the grid column headers have a 'tabindex' attribute associated. Due to this, when 'tab' key is pressed from outside the grid context, the captions or header names get selected first instead of the input fields of the grid row.

These design changes have been introduced to aid the product in supporting more and more accessibility related features and help end users leveraging assistive computer technology. On tabbing over the header columns, the accessible user will know whether the particular column is sortable or not. This is the very purpose of generating the tabIndex attributes on header columns. Also the navigation is made user friendly and intuitive to take the user directly to data row once you tab from the last column of the header.



Perform the following local-change:
  1. On the input field outside the grid, configure "Display > Set focus" action, to move the focus to id property in first row of grid on tab key event.
  2. Observe that focus directly shift to first cell of data row instead of going through grid headers.

Published February 15, 2016 - 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