We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Help Needed on two Requirements

Thread ID:

Created:

Updated:

Platform:

Replies:

145419 Jun 20,2019 02:19 PM UTC Jun 21,2019 09:13 AM UTC Xamarin.Forms 1
loading
Tags: SfSchedule
Sudip
Asked On June 20, 2019 02:19 PM UTC

We are using Syncfusion SfSchedule control in our Xamarin.Forms(Android and iOS only) app. Our app needs two things 

1. How can we achieve a two week or one week in month view with this control? Please find attached the screenshot.


2. How to change the date in Day View other than swiping Left/Right? Is there a way to achieve this similarly as done in Google Calendar? Please find attached the screenshot.


Please help us in achieving these requirements. We have also looked into the SfCalendar control.
Thanks in advance.

Subburaj Pandian Veluchamy [Syncfusion]
Replied On June 21, 2019 09:13 AM UTC

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_Sample

In 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, 
 
UG link: https://help.syncfusion.com/xamarin/sfschedule/data-bindings#selection

We hope this helps. Please let us know, if you have any query. 
 
Regards,
Subburaj Pandian V  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon