TypeError: ej2_base_1.getValue(...)[curIndex].setProperties is not a function

I am new to Syncfusion. I just tried the grid control in my new ASP.NET core Angular app and I am getting the following error. I did do npm install @syncfusion/ej2-ng-grids --save So I should have got all the dependencies.

CountriesComponent.html:4 ERROR TypeError: ej2_base_1.getValue(...)[curIndex].setProperties is not a function at GridComponent.webpackJsonp.../../../../@syncfusion/ej2-ng-base/src/component-base.js.ComponentBase.ngAfterContentChecked (component-base.js:61) at callProviderLifecycles (core.js:12697) at callElementProvidersLifecycles (core.js:12668) at callLifecycleHooksChildrenFirst (core.js:12651) at checkAndUpdateView (core.js:13801) at callViewAction (core.js:14148) at execComponentViewsAction (core.js:14080) at checkAndUpdateView (core.js:13803) at callViewAction (core.js:14148) at execEmbeddedViewsAction (core.js:14106)

Any help is greatly appreciated.

Thanks,
Ameet

1 Reply

PS Pavithra Subramaniyam Syncfusion Team February 21, 2018 10:04 AM UTC

Hi Ameet, 
 
We have checked your query and we could not reproduce the reported issue at our end. We have prepared a simple ASP.NET core and angular application and in that sample we have installed the Syncfusion Essential JavaScript 2 packages by using command “npm install @syncfusion/ej2-ng-grids –save”. Please refer to the following sample link. 
 
 
Could you please share below details that will be helpful for us to provide a better solution as early as possible. 
 
          1.Share the Grid Sample code you are using. 
          2.Share the scenario at which you are facing issue.  
          3.Please reproduce the issue in the above sample , if possible. 
 
Regards, 
Pavithra S. 


Loader.
Up arrow icon