Kendo UI Calendar Date cell background colour

2 posts, 0 answers
  1. vijay
    vijay avatar
    23 posts
    Member since:
    May 2015

    Posted 16 Jun Link to this post

    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

     

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    347 posts

    Posted 20 Jun Link to this post

    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.
     
  3. Kendo UI is VS 2017 Ready
Back to Top