This is a migrated thread and some comments may be shown as answers.

Both vertical and horizontal event resize on non-all-day events

1 Answer 196 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
vladan strigo
Top achievements
Rank 1
vladan strigo asked on 10 Jun 2016, 06:50 PM

Hi,

I'm building a scheduling app which would use the Scheduler component and would like to allow my users to stretch and drag and drop events on the weekly schedule.

However, they are working in 1-2 hour events through out the day, but possibly through multiple days.

On this demo:

http://demos.telerik.com/kendo-ui/scheduler/move-resize

 

It is seen that event resize works EITHER horizontal OR vertical depending on is it an all day event or not.

What I would like to do is:

- When the user clicks on an empty slot, open a popup to let him add an event slot

- When he drags it verticalit 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

 

From the demos and examples I cannot find that you can make both options on the same slot...so resize in both directions.

Is it possible?

Added question...also a click on the empty space in the scheduler to add a slot?

 

Thank you!

 

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 14 Jun 2016, 02:48 PM
Hello Vladan,

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:

http://demos.telerik.com/kendo-ui/scheduler/timeline

- 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.

Regards,
Stefan
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Tags
Scheduler
Asked by
vladan strigo
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or