Setting NumberOfVisibleWeeks doesn't show the full month

Hi,


When using the Scheduler in Month View and setting the NumberOfVisibleWeeks property to 5 the calendar doesn't show the full month but rather starts a day before the current day.  Is this the expected behaviour?

This is on version 27.1.58 on both iOS and Android.  

Removing  the NumberOfVisibleWeeks, the calendar in Month View works as intended.


Regards

Shaun


1 Reply

VM Vidyalakshmi Mani Syncfusion Team November 12, 2024 10:23 AM UTC

Hi Shaun,


Thank you for reaching out to us. The behavior you're observing occurs because when the `NumberOfVisibleWeeks` property is set, the dates are rendered starting from the current day. To display only the current month without showing the leading and trailing dates, you can set the `ShowLeadingAndTrailingDates` property to `False`. This will ensure that only the dates within the current month are displayed.


For more details, please refer to our User Guide documentation: Hide-leading-and-trailing-dates


If you need further assistance, please feel free to let us know. We’re happy to help!


Regards,

Vidyalakshmi M.



Loader.
Up arrow icon