You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the numberOfWeeksInView property in SfCalendar's month view is static, requiring manual adjustment. Unlike Google Calendar, it does not automatically adapt based on the number of weeks in a given month (e.g., some months have 5 weeks, others 6).
Requesting a feature that dynamically adjusts the numberOfWeeksInView based on the selected month to provide a more intuitive calendar experience.
Proposal
The current implementation of the SfCalendar in month view requires a static value for numberOfWeeksInView. This means developers must manually set it to a fixed number (e.g., 5 or 6 weeks), which does not dynamically adjust based on the actual number of weeks in a month.
For example:
February 2025 (4 weeks) displays 5 or 6 weeks if set manually.
March 2025 (6 weeks) might get cut off if the numberOfWeeksInView is set to 5.
This behavior differs from Google Calendar, which automatically adjusts the displayed weeks based on the number of weeks each month.
The text was updated successfully, but these errors were encountered:
3kdeveloper
changed the title
syncfusion_flutter_calendar Enable Automatic Adjustment of numberOfWeeksInView in SfCalendar Month View
[syncfusion_flutter_calendar] Enable Automatic Adjustment of numberOfWeeksInView in SfCalendar Month View
Feb 26, 2025
Use case
Currently, the numberOfWeeksInView property in SfCalendar's month view is static, requiring manual adjustment. Unlike Google Calendar, it does not automatically adapt based on the number of weeks in a given month (e.g., some months have 5 weeks, others 6).
Requesting a feature that dynamically adjusts the numberOfWeeksInView based on the selected month to provide a more intuitive calendar experience.
Proposal
The current implementation of the SfCalendar in month view requires a static value for numberOfWeeksInView. This means developers must manually set it to a fixed number (e.g., 5 or 6 weeks), which does not dynamically adjust based on the actual number of weeks in a month.
For example:
February 2025 (4 weeks) displays 5 or 6 weeks if set manually.
March 2025 (6 weeks) might get cut off if the numberOfWeeksInView is set to 5.
This behavior differs from Google Calendar, which automatically adjusts the displayed weeks based on the number of weeks each month.
The text was updated successfully, but these errors were encountered: