Background Color

4 posts, 1 answers
  1. Kirill Prokopenko
    Kirill Prokopenko avatar
    4 posts
    Member since:
    Nov 2009

    Posted 24 Aug Link to this post

    Hi! I'd like to set different background color to specific date ranges behind the appointments on the scheduler. Is it possible to do? Thanks! 
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5525 posts

    Posted 24 Aug Link to this post

    Hello Kirill,

    You can follow the implementation of such a feature here: https://feedback.telerik.com/blazor/1480581-customize-scheduler-slot. I've added your Vote on your behalf to raise its priority, and I would encourage you to post how you would expect that to be exposed for configuration and what options it will provide (say, a CSS Class for the slot, a Template for the slot, both, or something else). This will let you provide your exact scenario so we can take it into account when implementing this, without me retelling my understanding.

     

    Regards,
    Marin Bratanov
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

  3. Kirill Prokopenko
    Kirill Prokopenko avatar
    4 posts
    Member since:
    Nov 2009

    Posted 24 Aug in reply to Marin Bratanov Link to this post

    Hi, Marin.  I've had this implemented using other tools where I had two collections on a schedule control: one with appointments and one with (in my own project terms) "time slots" which only had  start date time, duration and CSS class to render, and were rendered on background. Appointments had a little padding, so background would also be visible.

     

    So it could either be two different source data collection, or an appointment may have a flag that turns it into a"timeslot" that gets rendered as a background.

     

    Hope, it helps.

  4. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    5525 posts

    Posted 24 Aug Link to this post

    Hi Kirill,

    Thank you for getting back to me, it does help. I pasted that information in the Feedback portal thread to ensure all details are present in one place so they are not missed when reviewed later.

     

    Regards,
    Marin Bratanov
    Progress Telerik

    Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Back to Top