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

How to prevent start/stop time change beyond timeline margins

1 Answer 57 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
COLIN
Top achievements
Rank 1
COLIN asked on 11 Nov 2014, 10:18 AM
When I move event that is on the very left hand side of timeline further to the left, it's start time is decreased. Can we block this?
For example dragging the "1" event to the left here http://dojo.telerik.com/IMeXa will set start time to an earlier than 7am.

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 13 Nov 2014, 12:10 PM
Hi Pawel,

This is the expected behavior, however it could be prevented by subscribing to the Scheduler's moveEnd event. Here is an example showing how to check the View's start time and the time to which the event was dragged and prevent the movement if the conditions are not met.

Regards,
Alexander Popov
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
COLIN
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or