Hi,
I am trying to get the scheduler to automatically scroll to the beginning of the scheduler's start work when in timeline view and scaling is set to an hour or less.
The potential solutions I have found are for the day view. They include:
Using ScrollToWorkHours()
Setting AutoScrollToWorkTime
Or manually scrolling to a time
I am unable to get adapt these for the timeline view. Any ideas on how this can be done?
Thank you very much.
Clyde
I am trying to get the scheduler to automatically scroll to the beginning of the scheduler's start work when in timeline view and scaling is set to an hour or less.
The potential solutions I have found are for the day view. They include:
Using ScrollToWorkHours()
Dim
sdve
As
SchedulerDayViewElement = rs.SchedulerElement.ViewElement
sdve.DataAreaElement.Table.ScrollToWorkHours()
Setting AutoScrollToWorkTime
TryCast(rs.ActiveView, SchedulerDayViewBase).AutoScrollToWorkTime =
True
Or manually scrolling to a time
Dim
sdve
As
SchedulerDayViewElement = TryCast(rs.SchedulerElement.ViewElement, SchedulerDayViewElement)
If
sdve IsNot
Nothing
Then
sdve.DataAreaElement.Table.ScrollToTime(
New
TimeSpan(DateTime.Now.Hour, 0, 0))
End
If
I am unable to get adapt these for the timeline view. Any ideas on how this can be done?
Thank you very much.
Clyde