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

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

Hi, 
     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.



Regards, 
Justin Ebenezer

Attachment: bugs_216deabd.rar

1 Reply

VN Vignesh Natarajan Syncfusion Team 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.  

Regards, 
Vignesh Natarajan. 
 


Loader.
Up arrow icon