Here are some tips on your questions.
>> When the user clicks on an empty slot, open a popup to let him add an event slot.
The option to double-click on an empty slot and add a new event is a built-in feature of the Kendo UI Scheduler. However, the user needs to double-click.
>> When he drags it verticality will be the length of the event in the day 1-2-4-8 hours when he drags it horizontal it will be the number of days it spans.
I can assume that you are trying to achieve one of the following:
- Have an event that can start today at 23:00 and finish tomorrow at 01:00. If this is the case, please check the timeline view, which will allow you to have an event spanning over multiple days:
- Have the same event repeated on multiple days. If this is your request, please use the repeat
option in the popup editor. This will copy the event occurrence depending on the user preferences. Also, when one of the events is changed it will automatically apply the changes to all of the repeated events in the whole series.
Please, have in mind that all events that are not in the timeline
view and are longer than 24 hours will be shown as All day events.
Let me know if my assumptions are not correct.