[FullCalendar 2] Update Fullcalendar events after created not showing

Forge Component
Published on 2019-03-29 by Daniel Filipe
27 votes
Published on 2019-03-29 by Daniel Filipe

When we create a new event and save it to the DB, the Fullcalendar2 is not updating the view. So, after some hard testing and experimenting, I got a fix to update the events visually without refresh the page or webBlock.

The WebBlock is inside of a tab that is loaded dynamically, so this could be one of the problems.

The JSONSerialize has a Event2 list, that is provided by the Fullcalendar2 structures, where in there, we have all the events.

Do you have any other soluctions or shouldn't this be directly in the core?