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

Color coding grouped events

1 Answer 18 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sorin
Top achievements
Rank 1
Sorin asked on 20 Jun 2019, 04:45 PM

     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!

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 24 Jun 2019, 11:27 AM
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.
Tags
Scheduler
Asked by
Sorin
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or