Conditional disabling of the edit functionality

3 posts, 0 answers
  1. COMM
    COMM avatar
    21 posts
    Member since:
    Oct 2014

    Posted 28 Apr 2016 Link to this post


    I have a scheduler which is set up with views of timelineMonth and timelineWeek. There are three resources, which represent three different locations. All items are full-day only (isAllDay=true).

    Many users have access to the scheduler and can place a reservation in a location for a certain number of days. However, I have a business rule which demands that users can only edit and drag-n-drop reservations that they made themselves. They are not allowed to manipulate reservations made by other users.

    Each reservation knows its owner through the fields in the schema. There is also a server-side session variable that identifies the owner. So I think I have all the ammunition I need.

    How do I a) disable editing in the scheduler and b) disable editing conditionally based on the the user.
  2. Vladimir Iliev
    Vladimir Iliev avatar
    2190 posts

    Posted 29 Apr 2016 Link to this post


    I already answered this quesition in the another forum post that you opened (#1030731): Regards,
    Vladimir Iliev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. COMM
    COMM avatar
    21 posts
    Member since:
    Oct 2014

    Posted 29 Apr 2016 in reply to Vladimir Iliev Link to this post

    Thanks Vladimir.
    The scheduler.restrictions page gave me enough good examples for me to be able to construct the behavior I needed. 
Back to Top