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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error on ODataV4Adaptor

Thread ID:

Created:

Updated:

Platform:

Replies:

148915 Nov 7,2019 05:28 PM UTC Nov 11,2019 04:42 AM UTC React - EJ 2 3
loading
Tags: Grid
raouf
Asked On November 7, 2019 05:28 PM UTC

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.

Pavithra Subramaniyam [Syncfusion]
Replied On November 8, 2019 08:54 AM UTC

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. 


raouf
Replied On November 8, 2019 01:20 PM UTC

Thanks for the answer.

The docs section about npm packages update was helpful.

Pavithra Subramaniyam [Syncfusion]
Replied On November 11, 2019 04:42 AM UTC

  
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. 


CONFIRMATION

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