Treegrid - ng-template issue

Hi Team,

When I try to use '<ng-template #template let-data></ng-template>' in my treegrid table . It is throwing the error. 

Please see the screenshots below: 

treegrid-code.png


ejs-treegrid-error.png


2 Replies

PS Pon Selva Jeganathan Syncfusion Team February 16, 2022 02:48 PM UTC

Hi Santhana kumar, 
 
Thanks for contacting syncfusion forum. 

We were unable to reproduce the issue(Script error thrown using ng- templaate) at our end while preparing a sample based on your shared code example. 
 
Please refer to the below sample, 
 
We suspect that some duplicate packages might be installed in your ‘@syncfusion’ folder of ‘node_modules’. Please follow the below steps provided to overcome the reported problem.  
   
  1. Delete package.lock.json file from your application. 
  2. Remove the @syncfusion package folder from the node_modules.
  3. Then install the new packages. 
  
 

Could you please follow the above step, still faced issue please share us the following details.

  1. Share the package.json file.
  2. If possible, reproduce the issue in the attached sample or share the issue reproducible sample.
 
The provided information will be helpful to provide you response as early as possible.   
   
Regards, 
Pon selva 




SM SanthanaKumar M February 16, 2022 07:39 PM UTC

Hi Team,

Could you please help on this issue?


Loader.
Up arrow icon