Hi Michael Salzlechner,
Thank you for reaching out to syncfusion support.
We validated your query regarding displaying different background colors in the schedule entry. This can be achieved by customizing the schedule entries using EventTemplate. Like below,
<ScheduleEventSettings TValue="ServiceAppointment" DataSource="@Appointments"> <Template> @{ // … custom height or width calculations as per your need } <div class="custom-appointment"> <div class="Ramp-up" style="width: @(rampupPercent)%"> Ramp-up (@appointment.RampupMinutes min) </div> // … Apply the dimensions in the div </div> </Template> </ScheduleEventSettings> |
Please find the attached sample that we prepared based on your scenario.
Documentaion: Appointment customization in Blazor Scheduler Component | Syncfusion
Kindly get back us if need any further assistance.
Regards,
Vijayakumar R
Attachment:
EventTemplate_f92e9439.zip