Hide Hours in Timeline View

I'm trying to figure out how to hide hours prior to my first event in timeline view. See attached screenshot and repo zip.

In my example, my first event does not start until 8:49 PM but I cannot hide all the hours prior. I'd like for the grid itself to start rendering at 7 PM so there isn't a big gap of emptiness (hide area in red box).



Attachment: AndyTV.GuideWasm_3bdaa2.zip

1 Reply

VD Vinitha Devi Murugan Syncfusion Team December 12, 2022 11:00 AM UTC

Hi Andrew,


Set the Scheduler start hour as 19:00 to Schedule StartHour property to meet your requirement.


<SfSchedule TValue="AppointmentResourceData" StartHour="19:00" Width="100%" @bind-SelectedDate="@CurrentDate" @bind-CurrentView="@CurrentView">


Refer to the below UG and online sample link to learn more about StartHour property.


UG Link: https://blazor.syncfusion.com/documentation/scheduler/working-hours#scheduler-displaying-custom-hours

Online Sample: https://blazor.syncfusion.com/demos/scheduler/hide-non-working-hours?theme=fluent


Regards,

Vinitha


Loader.
Up arrow icon