Disabling public holiday cells in month view

2 posts, 0 answers
  1. Chandrasekhar
    Chandrasekhar avatar
    6 posts
    Member since:
    May 2014

    Posted 05 Jun 2014 Link to this post

    Hello there,

    I am only using the month view for my Scheduler and i would like to disable public holidays and some other special days in the calendar and give these days a  particular background color setting.

    Is this possible?

    Thanking you,

  2. Alexander Popov
    Alexander Popov avatar
    1442 posts

    Posted 09 Jun 2014 Link to this post

    Hi Chandra,

    Although not supported out of the box, this behavior could be achieved. I would recommend subscribing to the dataBound event and checking each slot's startDate and if it is a public holiday - change its color. Here is an example how this could be done. The next step would be to restrict the user from creating or moving an existing event to the holidays slots. You can find similar example here.

    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