Hi Sudip,
Thank you for your interest in Syncfusion products.
Query 1: Showing required number of week dates in MonthView
As of now, we don’t have this support in SfSchedule control. We have already implemented WeekView support to our SfCalendar control with the support of showing required number of week days count and this feature will be included in our upcoming Volume 2 Beta release which is expected to be available by end of this month.
Once this feature has been included, using that you can achieve your requirement. Even though, if you want to show DayView in the application you can integrate both SfSchedule and SfCalendar controls and achieve the same. We will include demo sample for the same in our beta release. We appreciate your patience until then.
Query 2: Switching to DayView by tapping the MonthView dates
Your requirement of switching to DayView by tapping the dates in the month view can be achieved in SfSchedule. In Schedule, CellTapped event will trigger while tapping the Schedule (TimeSlots / dates / appointments), using this you can change the ScheduleView to DayView when tapping on month view dates. We have also HeaderTapped and ViewHeaderTapped support as well, you can handle the same based on your requirement.
Please refer the following code example for the same,
[C#]
schedule.HeaderTapped += Schedule_HeaderTapped;
…
private void Schedule_CellTapped(object sender, CellTappedEventArgs e)
{
if(schedule.ScheduleView == ScheduleView.MonthView)
{
schedule.ScheduleView = ScheduleView.DayView;
}
} |
We have prepared sample based on your requirement,
Sample link:
ScheduleView_SampleIn the sample, we have switched to DayView when tapping MonthView date and switching to MonthView when tapping Header in any View.
You can refer our online User Guide documentation regarding the same,
Regards,
Subburaj Pandian V