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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ViewMonth

Thread ID:

Created:

Updated:

Platform:

Replies:

130525 May 16,2017 10:55 PM UTC May 18,2017 11:48 AM UTC Android 1
loading
Tags: SfSchedule
roberto
Asked On May 16, 2017 10:55 PM UTC


Goodnight, I can make it appear only a month range. For example I just want the months of January to February to appear I can help with that Thank you

Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 18, 2017 11:48 AM UTC

 
Hi Roberto, 
 
Thank you for contacting Syncfusion support. 
 
Based on the provided information we suspect that your requirement is to set certain range of months to display in the Schedule in Android, which can be achievable using MinDate and MaxDate property of Schedule. By setting required Start day as MinDate and End day as MaxDate in the Schedule, you can achieve your requirement. Please refer the below code example, 
 
[c#] 
            Calendar currentDate = Calendar.Instance;
            Calendar minDate = (Calendar)currentDate.Clone();
            minDate.Set(2017201); // March 01, 2017
            Calendar maxDate = (Calendar)currentDate.Clone();
            maxDate.Set(2017631); //July 31, 2107

            schedule.MinDisplayDate = minDate;
            schedule.MaxDisplayDate = maxDate; 
 
  
You can also refer our online user guide documentation regarding the same, by the below link. 
 
 
Please let us know, if you have any query on this.  
 
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.

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

;