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?
KKKarthigeyan Krishnamurthi Syncfusion Team July 9, 2019 05:03 AM
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.
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.
AGalejandro gilJuly 15, 2019 05:19 PM
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: