As we have many menus using the Fullcalendar component, I’d like to ask about the state of the Fullcalendar Component working in NGTi. Even without any code, it is not even shown (on the form), whereas in NG1 it is shown as well as all my code works as expected (in NG1).
In Servoy Developer 2023.3.3.3845_LTS the latest version in the Servoy Package manger is still version 2.0.1, as it is in Servoy Developer 2022.6.0.3782.
Any news when there will be a new version working in NGTi?
in TiNG there is a new component for the fullcalendar ( FullCalendar Component 2 ) https://github.com/Servoy/fullcalendarcomponent2 which is to be used instead. You can downloading from the Web Package Manager.
While it offeres the same functionality of the NG1 component, is shipped as a different component because the latest version of the FullCalendar has several breaking changes in it’s properties and API ( NG1 is using FullCalendar version 3.x while TiNG using FullCalendar version 6.x ).
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
elements.calendar.addEventSource(eventSource);
gives in Servoy 2022.06 the following error and prevents the display of the calendar at 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
options.allDaySlot = false
gives following warning
The property allDaySlot is undefined for the type CustomType<svy-
fullcalendar2.FullCalendarOptions>
I forget to mention that each event is displayed twice in the calendar, doing just a Browser refresh removes the doubled displayed event. I have seen this behaviour on other menus of our application, but can’t remember right now where.
This effect seems to only occur in NG Titanium, not so in NG1.
About eventColor and eventTextColor, how can you see the effects if you have no events displayed due to error of addEventSource ?
About the options allDaySlot, indeed i see it missing. You can request a Feature to add that at support.servoy.com, so will go into our ticketing system. Similar for other issues, you can attach a sample solution demonstrating the issues so our experts can look at it.