Color coding grouped events

2 posts, 0 answers
  1. Sorin
    Sorin avatar
    2 posts
    Member since:
    Apr 2019

    Posted 20 Jun 2019 Link to this post

         Hi, I am trying to create a vertical group and have all events be color-coded based upon the type of event. I put together a Dojo as an example:

    https://dojo.telerik.com/eMUHurex

     

    You can see that the events are being grouped by 'Vehicle', but the color coding is not being applied based upon the type of event. If you remove the first resource item, the color coding will be applied correctly. Is there a configuration which I am missing, or does the scheduler not support this functionality? 

     

    Thanks!

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2063 posts

    Posted 24 Jun 2019 Link to this post

    Hi Sorin,

    The Scheduler colors the events based on the first declared resource. So if "Vehicles" is declared first and it has no color specified for its resource options, the default event coloring is applied.  Here's the dojo example modified with "Vehicles" declared after "eventType", which results in the events being properly colored based on the "eventType" key value.

    Regards,
    Ivan Danchev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top