10 Answers, 1 is accepted
You can find a sample implementation of adding event to the Scheduler via drag&drop in this Code Library.
Regards,
Rosen
Telerik
I am using external events to plan via drag'n'drop. I looked your sample code. Is it possible to get exact planned time of event and not slot time?
For example: user drop event at 5:10, how can I get 5:10 and not 5:00 (slot start time). The same, like if you would turn off snap option for scheduler.
Best regards,
Ziga
Hello Žiga,
I'm afraid this is not supported out of the box.
Regards,Rosen
Telerik
Hi Rosen,
I've set up my Scheduler according to the example you've provided.
However, both in my solution and in the provided example (after replacing the JS with more up-to-date http://cdn.kendostatic.com/2016.2.607/js/kendo.all.min.js), the scheduling in weekly view doesn't work when dropping items onto the All Day slot. Could you please help me find a solution for this?
Hello Peter,
You should change the element on which the DropTargetArea is attached to be view's element instead of the content. Similar to the following:
function
createDropArea(scheduler) {
scheduler.view().element.kendoDropTargetArea({
//......
Rosen
Telerik
Hi Rosen,
thank you very much for the quick reply - it worked.
One more related question though; how do I make this work for the agenda view, when dropping elements on the Date column? Neither of the options mentioned here works for this one.
Currently there is no build-in way to get the current date from the agenda view slots and custom solution would be required. Currently however we have no such example which we can provide.
Regards,
Vladimir Iliev
Telerik
Can i get a sample for drag drop events in kendo angular scheduler..?
Hello Anto,
The general AngularJS example for the Scheduler shows drag and drop of events: https://demos.telerik.com/kendo-ui/scheduler/angular.
Regards,
Ianko
Progress Telerik