background color for resources-cell

3 posts, 0 answers
  1. Hendrik
    Hendrik avatar
    4 posts
    Member since:
    Mar 2016

    Posted 28 Oct Link to this post

    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. Hendrik
    Hendrik avatar
    4 posts
    Member since:
    Mar 2016

    Posted 28 Oct Link to this post

    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.
  3. Kendo UI is VS 2017 Ready
  4. Peter Milchev
    Admin
    Peter Milchev avatar
    141 posts

    Posted 31 Oct Link to this post

    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.
     
Back to Top