Hi Paolo
Thanks for the reply and the details, very helpful. I got a first menu using the calendar somewhat to work. Up to now, I found the following errors/problems with fullcalendar2, i.e. version 6 of Fullcalendar.
The code
- Code: Select all
elements.calendar.addEventSource(eventSource);
gives in Servoy 2022.06 the following error and prevents the display of the calendar at all.
- Code: Select all
Exception
!hades.bas.dialog.msg.errorExceptionOccurred java.lang.RuntimeException: Error while executing client side code. Please see browser console for more info. Error: TypeError: null is not an object (evaluating 'callback.formname')!
Without the command, the calendar frame without events is displayed. The very same code line works in Developer 2023.03_LTS.
Then there seems to be a problem with some of the options. The options
- Code: Select all
options.allDaySlot = false
gives following warning
- Code: Select all
The property allDaySlot is undefined for the type CustomType<svy-
fullcalendar2.FullCalendarOptions>
whereas for example these
- Code: Select all
options.eventColor = '#f95';
options.eventTextColor = '#0f0';
do not give a warning but don't work. The result is the same in both above mentioned versions of the Developer.
I am not sure about some other options like
- Code: Select all
options.handleWindowResize = true
but the calendar is not resizing in the vertical (y-axis). It does so on the x-asis, but may be the x-axis resizing is not dependent of this option.
Thanks for looking at it.
Best regards,