Hi Dominik,
Greetings from Syncfusion.
We would like to inform you that you can achieve your requirement of “Displaying a week in TimelineView” using DaysCount property in TimelineViewSettings. DaysCount property is used to mention the number of days in single view of Timeline. In addition, you can use DisplayDate property of Scheduler to start the week from Sunday.
Code Snippet:
[C#]
// Number of days in TimelineView
schedule.TimelineViewSettings.DaysCount = 7;
// To start the week from Sunday
schedule.DisplayDate = DateTime.Now.Date.AddDays(-(int)DateTime.Now.DayOfWeek); |
We have prepared a sample for the same,
We hope this helps. Kindly revert us if you have any concern.
Regards,
Karthik Raja A