Closed kalpeshmayani closed 1 year ago
According to the instructions provided, we followed the steps to check the reported issue but were unable to replicate it on our end. We conducted tests by loading appointments by using the month cell builder support. We have prepared a sample based on the given code snippets, which are attached for your reference.
Please note that the version of SfCalendar used for this test is 20.4.54.
For more information about the "monthCellBuilder" support in the calendar, please refer to our UG documentation at the following link: https://help.syncfusion.com/flutter/calendar/builders#month-cell-builder
Refer to our KB documentation about month cell customization using cell builder,
Please check our sample and let us know if you are still facing the same issue. If the issue persists, please provide us with the following details:
A video demonstrating the issue you are facing. The code snippets for your calendar implementation. A reproducible sample that demonstrates the issue.
Providing these details would be helpful for us to investigate the issue and provide you with a solution as soon as possible
SfCalendar not showing appointments in month cell when publish web code on amplify.
`SfCalendar( view: CalendarView.month, dataSource: calendarController.documentDataSource, todayHighlightColor: Theme.of(context).primaryColor, showNavigationArrow: true, showDatePickerButton: true, headerHeight: AppSizes.getWebSize(40), headerStyle: CalendarHeaderStyle( textAlign: TextAlign.center, backgroundColor: Theme.of(context).primaryColor, textStyle: GoogleFonts.montserrat( color: Theme.of(context).primaryColorLight, fontSize: AppSizes.getWebSize(AppSizes.largeTextSize), ), ), viewHeaderHeight: AppSizes.getWebSize(40), viewHeaderStyle: ViewHeaderStyle( dayTextStyle: GoogleFonts.montserrat( color: Theme.of(context).primaryColor, fontSize: AppSizes.getWebSize(AppSizes.largeTextSize), ), dateTextStyle: GoogleFonts.montserrat( color: Theme.of(context).primaryColor, fontSize: AppSizes.getWebSize(AppSizes.largeTextSize), ), ), monthViewSettings: const MonthViewSettings( appointmentDisplayMode: MonthAppointmentDisplayMode.none, dayFormat: 'EEE', showTrailingAndLeadingDates: false, ), selectionDecoration: BoxDecoration( color: AppColors.transparentColor, border: Border.all( color: Theme.of(context).primaryColor, width: AppSizes.getWebSize(1), ), ), onTap: (CalendarTapDetails details) { if (details.appointments != null && details.appointments!.isNotEmpty) { showDataOnDialog( context: context, startDate: DateFormat('yyyy-MM-dd').format(details.date!), endDate: DateFormat('yyyy-MM-dd').format(details.date!), onClose: () {}, ); } }, onViewChanged: (ViewChangedDetails details) { WidgetsBinding.instance.addPostFrameCallback(() { List dates = details.visibleDates;
Appointments are coming and showing fine on calendar in debug, profile and release build. but when I publish web code on amplify, appointments not coming and showing on calendar.
Is there any solution for this?