I have a the scheduler tied to our api as shown below
var source = ej.DataManager({
url: apiUrl + "api/dispatch/GetData",
crudUrl: apiUrl+"api/dispatch/Batch/",
adaptor: "UrlAdaptor"
});
Everything reads in and comes through just great when accessing through the scheduler control. The problem comes in where i have implemented the drag and drop of a list item as you show in your demo here. After the item is dropped i build the object and send via
var scheduleObj = $("#Schedule1").data("ejSchedule");
var obj = {
Subject: e.droppedElementData.text,
StartTime: new Date(StartDate),
EndTime: new Date(endTime),
AllDay: false,
Recurrence: false,
recurrenceRule: null,
StartTimeZone: new Date().getTimezoneOffset(),
EndTimeZone: new Date().getTimezoneOffset(),
Description: e.droppedElementData.text,
Employee: resource.id
}
scheduleObj.saveAppointment(obj);
At this point the scheduler should call the api to save the data but it does not.
Any help you can give would be greatly appreciated.