Kendo-angular: [Request for Comments] Scroll to specific time

Created on 27 Feb 2019  路  2Comments  路  Source: telerik/kendo-angular

Current behavior
Currently, the Scheduler displays the day starting from midnight. Clicking "Show business hours" restricts the view to the working hours, but the rest of the day is no longer accessible.

image

Expected behavior
The Scheduler should support a focusedTime that will be scrolled into view. The rest of the day is accessible using scroll.

image

This is also the approach taken by Google Calendar and Microsoft Outlook.

Workarounds
The time range can be restricted with startTime and endTime.
Unfortunately, this makes the "Show full time" less useful.

Questions

  • What should be the default value for focusedTime, if any?
Enhancement scheduler

Most helpful comment

I think the default focusedTime should be the first worked hour.
=>Maybe a boolean like focusOnFirstWorkedHour would be more explicit

But a method should be available to focus on a specific hour : focusOnTime(time: Date)
This allows to focus on any event

All 2 comments

I think the default focusedTime should be the first worked hour.
=>Maybe a boolean like focusOnFirstWorkedHour would be more explicit

But a method should be available to focus on a specific hour : focusOnTime(time: Date)
This allows to focus on any event

The scrollTime property (defaults to workDayStart) and scrollToTime method have been shipped in v0.12, see demos.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tsvetomir picture tsvetomir  路  20Comments

jiangen1016 picture jiangen1016  路  16Comments

JohannesHoppe picture JohannesHoppe  路  15Comments

pkoecker picture pkoecker  路  16Comments

simon11196 picture simon11196  路  17Comments