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

DataSource


Hello support: I am consuming a service through an HTTP request, It turns out that I call the service and filled an object with all the information it brings me, but at the time of assigning it to the EventSettingsModel I do not get any data, I passed to the datasource and It brings me all the service and paints it in the scheduler, but when I move the appointment dynamically I get an error:



this is my code:




my question is, what do I have to do to be able to move an appointment that is called from a service and this is updated?



7 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team July 9, 2019 10:03 AM UTC

Hi Alejandro 
 
Syncfusion greetings. 
 
In your code example, crudUrl is not used which is the cause  for CRUD actions not working in Scheduler. We suspect that your requirement is to perform CRUD operation with updating data base and prepared the below sample for your reference. 
 
Note:  
  1.  To display the added event in UI (without updating data base) dataSource should have local data collection / empty array [].
  1. To display the added event in UI (with updating data base) dataSource should have correct crudUrl with service project in running state.
 
In dragStart event function, getCellDetails method is called with event element which is the cause for the script error and using addEvent method in that event is not correct scenario. Please revert with your case to proceed further. 
 
Regards, 
Karthi 



AG alejandro gil July 15, 2019 10:19 PM UTC

Hello Syncfusion

first I wanted to thank you for giving the correct response to the error that it presented, it served me a lot and I was able to correct the fault I had


Now I am trying to create a planner that shows the members of the group, I am taking as reference this:


But I do not understand why the staff does not want to show me, they can help me with this.

This is my code: