This has been working fine previously, and I've checked the changelog for breaking changes but found none: When the scheduler view contains a block appointment, onActionFailure is triggered and no appointments are displayed at all:
ERROR: actionFailure
kycdock-ej2.min.js:9 Uncaught TypeError: this.parent.getHeaderTooltipTemplate(...) is not a function
at t.e.createBlockAppointmentElement (kycdock-ej2.min.js:9)
at t.renderBlockEvents (kycdock-ej2.min.js:9)
at t.processBlockEvents (kycdock-ej2.min.js:9)
at t.renderEventsHandler (kycdock-ej2.min.js:9)
at t.renderResourceEvents (kycdock-ej2.min.js:9)
at t.renderAppointments (kycdock-ej2.min.js:9)
at t.renderEvents (kycdock-ej2.min.js:9)
at e.notify (kycdock-ej2.min.js:9)
at t.notify (kycdock-ej2.min.js:9)
at t.onScheduleResize (kycdock-ej2.min.js:9)
I'm using this setup:
<e-schedule-eventsettings dataSource="dataManager" enableTooltip="true" tooltipTemplate="#tooltipTemplate">
<!-- Template for Tooltip -->
<script id="tooltipTemplate" type="text/x-template">
<div class="tooltip-wrap">
<div>${getUserName(data.Owner)}:<br /> ${Subject}</div>
<div class="content-area">
${if(Location && Location !== null)}<div class="name">${Location}</div>${/if}
<div class="time">Von: ${StartTime.toLocaleString()} </div>
<div class="time">Bis: ${EndTime.toLocaleString()}</div>
${getCrewCapacity(data)}
${createListFromArray(getCrewListNames(data.Attendees)).outerHTML}
</div>
</div>
</script>
Any ideas, please?