4 Answers, 1 is accepted
0

Chuck
Top achievements
Rank 1
answered on 31 Mar 2016, 02:09 AM
I believe that I need to create a custom event template and change the color based on a value from my model. However, how do I set the color for the entire "k-event"? If I exaggerate the colors (just to illustrate), I get the following:
0

Chuck
Top achievements
Rank 1
answered on 31 Mar 2016, 02:11 AM
I meant to also attach my sample event template...
0
Accepted
Hi Chuck,
Please note that modification of the base color of the events will require custom solution. For example you can use the "DataBound" event of the Scheduler to iterate over the available events and manually set it's background color. Another option is to create entirely custom view which to modify the base event template in order to show the color of the second resource (example of creating custom view).
Regards,
Vladimir Iliev
Telerik
Please note that modification of the base color of the events will require custom solution. For example you can use the "DataBound" event of the Scheduler to iterate over the available events and manually set it's background color. Another option is to create entirely custom view which to modify the base event template in order to show the color of the second resource (example of creating custom view).
Regards,
Vladimir Iliev
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
0

Chuck
Top achievements
Rank 1
answered on 01 Apr 2016, 12:09 PM
Excellent.
I created the custom Event Template (not as complex as the one shown), set the desired class, then used the Databound event to use some simple JQuery to add my class to the div with the k-event and remove it from my template.
Thanks!!
Chuck