Cannot read properties of null (reading 'parentNode')

Getting this error on some of my spreadsheets:

syncfusion-vendor-e48d756d.js:2 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'parentNode')
    at te (syncfusion-vendor-e48d756d.js:2:29885)
    at syncfusion-vendor-e48d756d.js:219:66279
    at Map.forEach (<anonymous>)
    at l.updateRowContent (syncfusion-vendor-e48d756d.js:219:65760)
    at syncfusion-vendor-e48d756d.js:220:23404


In case the compiled code is helpful, this is the function where the error points to:

function te(l) {
    var e = l.parentNode;
    if (e)
        return e.removeChild(l)
}

1 Reply

JS Janakiraman Sakthivel Syncfusion Team January 28, 2025 04:18 PM UTC

Hi Tim Law,

We have reviewed the details and code snippets you provided and would like to inform you that the reported issue may occur if any DOM refresh actions are triggered while the sheet content is being scrolled in the spreadsheet. Such actions could lead to the behavior you described.


To proceed further, we kindly request you to share the following details:


  1. Please describe the exact scenario when the reported issue occurred on your end. If the problem happened while scrolling, kindly provide additional information about any other actions that were being executed at that time.
  2. Share the client-side code snippets along with the component rendering code.
  3. If you have made any customizations, please share the relevant code snippets as well.
  4. Please provide a video demonstration of the issue to help us understand it better.

Providing the requested information will help us validate the issue on our end. Based on that, we will review the details and quickly offer a solution.


Loader.
Up arrow icon