DataManager UrlAdaptor send additional information

Hello,

currently I work with the DataManager in combination with the UrlAdaptor. The CRUD-operations are working fine and I can add my own logic on the backend side depending on the operation.

But now I would like to react to additional information that happens on the client side. For example I would like to send the information to my server side when the user hovers over a certain field or clicks a certain button or triggers a function. Is it possible to send this information with the DataManager in combination with the UrlAdaptor?

Regards Adrien

1 Reply 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team November 2, 2020 11:42 AM UTC

Hi Adrien, 

Greetings from Syncfusion Support. 

We have validated your requirement at our end and prepared a sample based on that using UrlAdaptor like the below code.  

var dataManager = new DataManager({ 
    url: 'http://localhost:54738/Home/LoadData', // Here need to mention the web api sample running path 
    crudUrl: 'http://localhost:54738/Home/UpdateData', 
    crossDomain: true, 
    adaptor: new UrlAdaptor 
}); 
var dataQuery = new Query().from("Events").addParams('readOnly', true) 


Kindly try the above sample and let us know if you need further assistance. 

Regards, 
Balasubramanian S

Marked as answer
Loader.
Up arrow icon