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

How do I refresh the calendar events on page change ? #20

Open
mathewng opened this issue Feb 17, 2021 · 2 comments
Open

How do I refresh the calendar events on page change ? #20

mathewng opened this issue Feb 17, 2021 · 2 comments

Comments

@mathewng
Copy link

No description provided.

@santa112358
Copy link
Owner

@hasanzia1993
Copy link

@mathewng
Have you tried onPageChanged method ? https://pub.dev/documentation/cell_calendar/latest/cell_calendar/CellCalendar/onPageChanged.html

onPageChange method does give the new firstDate and lastDate but changing the events in setState does not change the events in the calendar. It is common to load new data when the page changes but with this calendar, I can't add new data on pageChange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants