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

Error on ODataV4Adaptor

Hello,

I have been struggling with for 2 days now. So, any kind of help would be appreciated.

The problem is that when using Grid with a DataManger (OData, ODataV4 or Url) based dataSource the binding doesn't work. The dataBound event gets fired but not dataSourceChanged.

The thing is in render (inside a class based component) I used the dataManger instance to query the API. It works.

The error is : TypeError: dm.dataSource.url is undefined. It is thrown from adaptor.js line 596.

3 Replies

PS Pavithra Subramaniyam Syncfusion Team November 8, 2019 03:54 AM

Hi raouf, 

Greetings from Syncfusion support. 

We have tried to reproduce the reported issue at our end but is working fine at our end. We have prepared a sample for your reference. 


and we suspect that the duplicate packages might be installed in your application. Please check and ensure whether the node_modules contains the duplicate Syncfusion packages or not . If duplicate packages present inside the Syncfusion packages (ex: node_modules inside ej2-react-grids package)then remove that package manually or you can update the packages using the below way.  

Please refer the below help documentation for more information. 


Regards, 
Pavithra S. 



RA raouf November 8, 2019 08:20 AM

Thanks for the answer.

The docs section about npm packages update was helpful.


PS Pavithra Subramaniyam Syncfusion Team November 10, 2019 11:42 PM

  
Hi raouf, 
 
Thanks for your update. 
 
We are happy to hear that the provided documentation has helped you. 
 
Please get back to us if you need any further assistance on this. 
 
Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon