how can i scroll time line to some day in the range of current time span without altering the TimeSpan?
If user switches to next month it is needed the timeline to be focused to the first day of month. Now the day is the same as user was displayed before changing month.
using scrollToDate alters TimeSpan also <-2weeks> <ToDate> <+ 2weeks> instead <first day of month> <ToDate> <last day of month>
Could you please share your configuration?? I added your viewPreset here https://bryntum.com/products/scheduler/examples/basic/ and added a button to call scrollToDate, and the TimeSpan wasn't changed to <-2weeks> <ToDate> <+ 2weeks> like you mentioned. If you could add your configuration to our demo code and share it here would be easier for us to assist you.
Hi, marcio,
please find sample configuration based on Basic example. It seems strange things happen when "workingTime" is enabled. When this property is commented out it works as expected.
When set up:
Could you please share your configuration?? I added your viewPreset here https://bryntum.com/products/scheduler/examples/basic/ and added a button to call scrollToDate, and the TimeSpan wasn't changed to <-2weeks> <ToDate> <+ 2weeks> like you mentioned. If you could add your configuration to our demo code and share it here would be easier for us to assist you.
when we first load the page, initial date range in the timeline are: [beginning of month]..[end of month]
when you switch month and scroll to the beginning of grid - you see not the beginning of month. When you scroll to the end of grid - you see not the end of the month. This is the problem.
When switching months we need to maintain calendar month interval, not other kind of interval of 30day length (in this case beginning date of timeaxis and end date of timeaxis are dates from different months).
It does not help. Actually it works to scroll 2-3 months and suddenly the timeline gets messed again.
It seems it is somehow related to the "scrollToDate" value provided. If it is not in the timeline because of working time configuration, it makes timeline to render strangely.
Hello,
the bug is not scheduled for fix yet.
Is there any temporary workaround (we have to keep workingTime filtered ) or maybe there is info on upcoming bug fix in the upcoming next few weeks?