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

background color for resources-cell

2 Answers 103 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Hendrik
Top achievements
Rank 1
Hendrik asked on 28 Oct 2016, 06:44 AM

Hi everyone,

I'd like to use specific background colors for each resources-cell in the scheduler.  

This means, corresponding to the demo in http://dojo.telerik.com/oQIMU, I'd like to set a background-color for the cell with the text "Alex" and a different one for the cell with the text "Bob".On the corresponding demo, there are colors set for the entries for "Alex", "Bob" and Charlie. Unfortunately, I don't see where these colors apply.

It would also be possible to use css-classes to set the background-color and apply the corresponding css-class to the resources-cell.

Which would be the easiest solution to do so? Is there a possibility to create a custom template for the resources-cells, just like there are the event-template and the header-template?

 

Thank you for your help!

2 Answers, 1 is accepted

Sort by
0
Hendrik
Top achievements
Rank 1
answered on 28 Oct 2016, 07:41 AM
I'm using jQuery version 1.12.3 and kendo ui version v.2016.3.914 with Windows Server 2012 and Google Chrome Version 53.0.2785.116 m.
0
Peter Milchev
Telerik team
answered on 31 Oct 2016, 05:25 PM
Hello Hendrik,

As far as I understand you are looking for the groupHeaderTemplate configuration which should meet your requirements.

If that is not the case, would you please provide more details on the desired result?

Regards,
Peter Milchev
Telerik by Progress
 
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
 
Tags
Scheduler
Asked by
Hendrik
Top achievements
Rank 1
Answers by
Hendrik
Top achievements
Rank 1
Peter Milchev
Telerik team
Share this question
or