I'm having some issues with the grid, trying to print while building in prod environment (dev works fine). The error is the following:
TypeError: Cannot read property 'firstChild' of undefined
It seems it's related to a rendering issue: in development, the HTML element that is rendered for printing includes a footer element, but in production it's missing, for some reason. Then when it tries to retrieve the footer, the function getFooterContent() returns undefined.
I kept debugging, trying to get deeper into the problem, but I'm not sure if this is a genuine bug or a problem on my side.
PSPavithra Subramaniyam Syncfusion Team March 19, 2019 03:53 AM
Greetings from Syncfusion.
We have checked the reported issue at our end but we could not reproduce the issue in our latest version. We have prepared a simple sample based on your query which can be downloaded from the below link.
Could you please share the below details that will be helpful for us to provide a better solution as early as possible.
Please ensure whether the node_modules/@syncfusion folder has no any duplicate packages (ex: “node_modules/@syncfusion/ej2-navigations/node_modules/@syncfusion/ej2-base”). If yes please refer the below link for updating the Syncfusion package without duplication.