We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeGrid control v17.1.39, after production build - Cannot read property 'prototype' of undefined

Thread ID:





143943 Apr 11,2019 06:27 AM UTC Apr 12,2019 08:38 AM UTC Angular - EJ 2 1
Tags: TreeGrid
Asked On April 11, 2019 06:27 AM UTC

     Recently i have updated ejs-treeGrid package version to v17.1.39 for using checkbox in tree view and used "getCheckedRecords()" method to get checked nodes. It works fine in local build but in case of production build i'm getting following error in my app. And also getting Javascript Heap out of memory after upgraded to v16 to v17.

ERROR TypeError: Cannot read property 'prototype' of undefined

Note : I have attached my sample code below, kindly check and do provide respective solution.

Justin Ebenezer

Attachment: bugs_216deabd.rar

Vignesh Natarajan [Syncfusion]
Replied On April 12, 2019 08:38 AM UTC

Hi Justin Ebenezer, 

Thanks for contacting Syncfusion Forums. 

Query: “TreeGrid control v17.1.39, after production build - Cannot read property 'prototype' of undefined” 
From your query we understand you are facing issue with Checkbox column in EJS TreeGrid. We created sample using your code example and  we are not able to reproduce the error at our end. But the reported issue may occur when you have not properly injected the services / modules in appmodule or Provides. So kindly ensure that whether you have injected modules properly.  

For your convenience we have prepared as sample using 17.1.39 version.  

After referring the sample, If you still facing the issue, kindly share the video demonstration of the reported issue. If possible try to reproduce the reported issue in provided sample.  

Vignesh Natarajan. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon