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

Kendo UI Calendar Date cell background colour

1 Answer 913 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
vijay
Top achievements
Rank 1
vijay asked on 16 Jun 2016, 06:23 AM

Hello Telerik,

I want to apply date cell background colour according to working shift.

like -

General Shift - Green Background for all General shift date.

Holiday - Blue Background for all Holiday shift date.

Week Off - Red Background for all Week Off shift date.

Please guide me how can I achieve the same using Kendo UI calendar.

 

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 20 Jun 2016, 07:19 AM
Hi Vijay,

You can use templates via the month.content option, and some custom logic to achieve the desired behavior. You can check out the following demo for a sample implementation:

http://demos.telerik.com/kendo-ui/calendar/template

I hope this helps.

Regards,
Dimiter Topalov
Telerik
 
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
 
Tags
Calendar
Asked by
vijay
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or