Data exchange with DataManager and external JavaScript function

Hello,

I would like to use the DataManager. But for me, the data from a database is provided to an JavaScript file, which works externally from my Syncfusion application. I would have to use the DataManager to access a function within this JavaScript file, where I can load the required JSON-Object. As with the DataManager in combination with the UrlAdaptor I have to recognize when the data in my application changes and I have to tell the JavaScript file. So my questions are again summarized as follows:

Q1: How to communicate with an JavaScript file/JavaScript function instead of a URL in connection with the DataManager?

Q2: How does the communication between application and JavaScript function take place (e.g. in CRUD operations).

Regards Adrien

1 Reply 1 reply marked as answer

RV Ravikumar Venkatesan Syncfusion Team November 6, 2020 12:05 PM UTC

Hi Adrien, 
  
Greetings from Syncfusion support. 
  
  
How to communicate with a JavaScript file/JavaScript function instead of a URL in connection with the DataManager 
  
We have validated your above query at our end. We suggest you to use the JsonAdaptor to communicate with the JavaScript file. Refer to the below link for more reference. 
  
  
  
How does the communication between the application and JavaScript function take place? 
  
We have validated your reported query at our end. We suggest you refer to the below links to perform Query and CRUD operation. 
  
  
  
Please let us know if you need any further assistance. 
  
Regards, 
Ravikumar Venkatesan 


Marked as answer
Loader.
Up arrow icon