cell_calendar icon indicating copy to clipboard operation
cell_calendar copied to clipboard

How do I refresh the calendar events on page change ?

Open mathewng opened this issue 5 years ago • 2 comments

mathewng avatar Feb 17 '21 13:02 mathewng

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

santa112358 avatar Feb 17 '21 16:02 santa112358

@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.

hasanzia1993 avatar Sep 21 '21 15:09 hasanzia1993