Show only curreny month sfCalendar

I have my calendar with view mode to Months, but I can still see part of the next month (August).
Is there a way for me to only show current month?

Thank you 


1 Reply

VR Vigneshkumar Ramasamy Syncfusion Team July 23, 2018 12:16 PM UTC

Hi Eduardo Infante,

Thank you for contacting Syncfusion support.

Based on the provided information, we have checked the requirement of “Show only the current month of SfCalendar”. This can be achieved by setting “PreviousMonthTextColor” to Transparent in MonthViewSettings and we dont have direct property to handle the Selection highlight and this can be handled by Triggering MonthChanged event and SelectionChanged event. We have prepared the sample which we have implemented the same. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/directtrac/210772/ze/ShowCurrentMonth1705726797.zip 

If the given sample also doesn’t meet your requirement, could you please modify the provided sample along with its reproducing procedure? It will be helpful for us to analyze on your requirement and provide you a possible solution. 
 
Please let us know if this help full.

Regards,
Vigneshkumar R.  


Loader.
Up arrow icon