Page 1 of 1

[REACT] Customizing Scroll Behavior in Week View to Start from the Top

Posted: Mon Sep 30, 2024 8:04 am
by prasath

In Week view, the scroll starts in the middle. Is there any possibility to customize the scroll to start from the top to the bottom?

We are facing a scroll issue where, for example, a Time Entry event is specified between 02:00:00 and 03:00:00 on 2022-03-01.
PFA image for your reference,

Scroll Issue.jpg
Scroll Issue.jpg (72.24 KiB) Viewed 470 times

Re: [REACT] Customizing Scroll Behavior in Week View to Start from the Top

Posted: Mon Sep 30, 2024 8:12 am
by Animal

https://bryntum.com/products/calendar/docs/api/Calendar/widget/DayView#config-visibleStartTime is 7 by default.

The docs don't make this clear. Will fix that.


Re: [REACT] Customizing Scroll Behavior in Week View to Start from the Top

Posted: Mon Sep 30, 2024 11:47 am
by prasath

Providing visibleStartTime as null moves scrollbar to the top.Its working as expected.Thanks Animal for the suggestion.