How to prevent start/stop time change beyond timeline margins

2 posts, 0 answers
  1. Pawel
    Pawel avatar
    22 posts
    Member since:
    Oct 2014

    Posted 11 Nov 2014 Link to this post

    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 will set start time to an earlier than 7am.
  2. Alexander Popov
    Alexander Popov avatar
    1445 posts

    Posted 13 Nov 2014 Link to this post

    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.

    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top