Hi,
If I change the time interval of the SfScheduler control when the view type is changed it doesn't display correctly if the interval is changed to a smaller value.
I am using the following intervals for the timeline views we are using:
- Timeline Day - 1 hour
- Timeline Week - 4 hours
- Timeline Month - 24 hours
This is done using a simple select statement when the view type is changed:
Private Function GetSchedulerViewInterval() As TimeSpan
Select Case CurrentViewType
Case SchedulerViewType.TimelineDay
Return TimeSpan.FromHours(1)
Case SchedulerViewType.TimelineWeek
Return TimeSpan.FromHours(4)
Case Else
Return TimeSpan.FromHours(24)
End Select
End Function
If you change from timeline month to timeline week or timeline day then most of the intervals are simply not displayed like so:
However, if you increase the interval it displays correctly. For example, changing from Timeline day to Timeline week displays the new week interval correctly.
As Timeline Month is the largest (It is also the default view type that we are using) it always displays correctly.
Please setup this scenario for yourselves to replicate, this is yet another example of the wpf control not being on par with the blazor control as we had been recommended.
Lee.