This is a migrated thread and some comments may be shown as answers.
Disabling public holiday cells in month view
1 Answer 86 Views
This is a migrated thread and some comments may be shown as answers.
Chandrasekhar
Top achievements
Rank 2
Chandrasekhar asked on 06 Jun 2014, 02:47 AM
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,

Chandra

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 09 Jun 2014, 01:32 PM
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.

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