I'm using FullCalendar by Adam Shaw.
To show all events on a day, I'm using the listday-view. I need to show a link in the header of the table.
I tried the following code, but it doesn't work.
viewRender: function (view, element) {  
    if(view.name === 'listDay') {
        element.find('.fc-widget-header').append( '<span>» My Text</span>' );
    }
}
It seems, that the element is not been found. A "jQuery-alert" instead of the "element.find" works.
 
                        
That's because the
viewRender callbackruns before the.fc-widget-headerelement has been rendered and can't be found. https://fullcalendar.io/docs/display/viewRender/You can add your code in the
eventAfterAllRender callbackbecause as i can see thelistDaywill rendered only if there are events to show.example