Note that those fields don't necessarily have to be set as Scheduler resources. Here's a dojo example that demonstrates this approach.
If you set a field as a resource, you can specify how all events that have a specific resource value can be colored. In the example above all events that have the country="SA" resource will be colored "lightblue" and all events with country="US" will be colored "lightgreen", because these are the colors of the country resource.
{ text: "SA", value: "SA", key: "lightblue" },
{ text: "US", value: "US", key: "lightgreen" }
However, in the template conditionally we add a div element in the template if age < 30, that's why the "Interview SA 20" event is colored in red.
However
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.