This is a migrated thread and some comments may be shown as answers.

Scheduler, timelineMonth, current day visible

5 Answers 300 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
COMM
Top achievements
Rank 1
COMM asked on 26 May 2016, 02:11 PM

I have a Scheduler that loads with the timelineMonth view. By default, the user sees the days of the month starting at 1 on the left and, depending on the width of the screen, cutting off at about the 9th or 10th. The user then scrolls right to see the rest of the month.

Is it possible to have the Scheduler load so that the current day is visible in the viewport?  

 

5 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 30 May 2016, 08:16 AM
Hello,

The desired behavior is not supported out of the box however it can be easily achieved using custom solution as demonstrated below:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
COMM
Top achievements
Rank 1
answered on 30 May 2016, 09:47 AM
Hi Vladimir. That's perfect! Thanks.
0
COMM
Top achievements
Rank 1
answered on 01 Jun 2016, 11:22 AM

Hi Vladimir

Actually, it's not such a good solution. It was fine while we were near the end of a month, but now that it's the 1st of June it screws up a little. It scrolls to half-way through the 3rd. See image attached.

0
COMM
Top achievements
Rank 1
answered on 01 Jun 2016, 11:45 AM

Hi again

In fact it is scrolling consistently 2.5 days further forward than it should.

In the scroll() function, if I add this line after the time variable declaration in the original example:

time.setDate(time.getDate() + 3);

thus fooling the widget into thinking it's now 4th June, it scrolls to mid-way on the 6th. And it is consistent if you change the '3' for anything else.

How do I remedy this?

0
Vladimir Iliev
Telerik team
answered on 03 Jun 2016, 07:09 AM
Hello,

I tried to reproduce the described behavior in several ways but to no avail - everything is working as expected on our side. Could you please provide more details in order to reproduce this behavior on our side:
  • do you reproduce this behavior using the demo that I provide
  • browser and version that you are using / OS version
  • exact timezone that the computer use
Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
COMM
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
COMM
Top achievements
Rank 1
Share this question
or