I don't know how to re-render (or re-draw) a full-calendar in Angular (@fullcalendar/resource-timeline). After I call the API, the data used to draw calendar is changed, and I hope the calendar will be updated (re-rendered). But I don't know how to do that. Please help me. Thank you so much.
Asked
Active
Viewed 1,132 times
3
-
It's hard to help you without any code shown. – Akaisteph7 Aug 01 '19 at 20:03
-
Are you talking about updating the calendar to download new events from the server? In that case, https://fullcalendar.io/docs/Calendar-refetchEvents would help you. – ADyson Aug 02 '19 at 10:30
1 Answers
0
@ViewChild('calendar', { static: true }) calendar: FullCalendarComponent
this.calendar.getApi().render()

Federico Bellini
- 365
- 1
- 7
- 18