Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[syncfusion_flutter_calendar] Enable Automatic Adjustment of numberOfWeeksInView in SfCalendar Month View #2281

Closed
3kdeveloper opened this issue Feb 12, 2025 · 2 comments
Labels
calendar Calendar component feature New feature uncertain Uncertain feature

Comments

@3kdeveloper
Copy link

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.

@VijayakumarMariappan VijayakumarMariappan added calendar Calendar component open Open labels Feb 13, 2025
@3kdeveloper 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
@Mugunthan-Ramalingam
Copy link
Contributor

Hi @3kdeveloper,

We would like to let you know that currently we don’t have support to update the number of weeks view dynamically in month view in SfCalendar. However, we have considered your requirement as a new feature and logged feature request for it in our feedback portal.

We will prioritize the features of every release based on demand and priority. So, this feature will be available in any of our upcoming releases. You can also track the status of the feature with the feedback below.

FR link: https://www.syncfusion.com/feedback/66311

Regards,
Mugunthan.

@LavanyaGowtham2021 LavanyaGowtham2021 added uncertain Uncertain feature feature New feature and removed open Open labels Mar 19, 2025
@LavanyaGowtham2021
Copy link
Collaborator

Since it’s an unplanned feature request, we are closing this issue. For more details, please follow the FR.

FR link: https://www.syncfusion.com/feedback/66311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calendar Calendar component feature New feature uncertain Uncertain feature
Projects
None yet
Development

No branches or pull requests

4 participants