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

Drag and resize events - change default behaviour

1 Answer 151 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Annette
Top achievements
Rank 2
Annette asked on 07 May 2014, 06:54 AM
I am using MVC UI, draggable and resizable Kendo Scheduler and I am having trouble implementing two of the client’s requirements.

1.    
The user has an event from 8:31 to 9:30. He is moving the end of the event to 9:00. He is expecting to change the event interval to 8:31 – 9:00. However, his action is ignored by the scheduler control because the event duration is less than 30 minutes.
 
2.
The user has an event from 8:31 to 10:01. He is moving it so that the start of the event is on 8:00. He expects that the new event  interval will be from 8:00 to 9:30. However, the control is setting the interval to be from 8:01 to 9:31.


Is there any way to cover these two scenarios with Kendo Scheduler?

Thank you in advance!

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 07 May 2014, 08:16 AM
Hi Tomas,

If I understood your scenario correctly, you do not want the events to snap to the "time grid". In order to achieve this you will need to set snap option to false. You can try this in action at this online demo, note that you will need to un-check the checkbox located above the scheduler widget.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Annette
Top achievements
Rank 2
Answers by
Rosen
Telerik team
Share this question
or