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

Unable to add rows to Data Transforms and Activities



User facing an issue with data transforms and activities when adding new row.

Busy indicator displays and screen hangs.

Error Messages

Uncaught TypeError: Cannot read property 'getElementsByTagName' of undefined

Steps to Reproduce

 Try to add row in Data Transform or Activity.

Root Cause

Developers have overridden getFirstChild function in UserWorkForm.


Remove the overridden function from UserWorkForm.

However this was included to skip the focus going to read-only elements.
A bug item with ID 
FDBK-10858 has been registered.

Following local-change is provided that will execute nothing when focusFirstElement/focusLastElement is called from Grid Perspective.

$(document).ready(function() {
        if(pega && pega.ui && pega.ui.grid && pega.ui.grid.prototype && pega.ui.grid.prototype.focusFirstElement) {
                        pega.ui.grid.prototype.focusFirstElement = function() {

        if(pega && pega.ui && pega.ui.grid && pega.ui.grid.prototype && pega.ui.grid.prototype.focusLastElement) {
                        pega.ui.grid.prototype.focusLastElement = function() {



Suggest Edit

Published May 12, 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