I have custom fields and i need to add a custom tooltip that should display additional data, that isnt part of the object. I added a comment in the td where i want to display the tooltip. Any help would be appreciated.
<ejs-gantt id='resources' [dataSource]='data' [taskFields]='taskSettings' [treeColumnIndex]='0'
[splitterSettings]='splitterSettings' [labelSettings]='labelSettings' [enableContextMenu]='false' [tooltipSettings]='tooltipSettings'
[rowHeight]='61' [allowUnscheduledTasks]='true' [allowRowDragAndDrop]='true' (rowDrop)='rowDrop($event)' (beforeTooltipRender)='showContent($event)'
(queryCellInfo)='showContent($event)'
[toolbar]='toolbar' [resourceFields]='resourceFields' (rowDataBound)='rowDataBound($event)' (dataBound)='actionComplete($event)'
[timelineSettings]='timelineSettings' [projectStartDate]='projectStartDate' [projectEndDate]='projectEndDate'
workUnit='Hour' [eventMarkers]='eventMarkers'>
<e-columns>
<e-column field='TaskID' visible='false' width='0' >
<ng-template #template let-data>
<div class='e-treecolumn-container'>
<span class='e-treecell'></span></div>
</ng-template>
</e-column>
<e-column field='TaskName' headerText='Name' width='180' headerTextAlign='left'>
<ng-template #template let-data>
<table style='width:180px;' *ngIf='data.taskData.IsSectionHeader'>
<tr>
<td>{{data.taskData.Bucket}}</td>
</tr>
</table>
<table style='width:180px;height: 50px' *ngIf='!data.taskData.IsSectionHeader'>
<tr>
<td>{{data.taskData.TeamName}}</td>
</tr>
<tr>
<th>{{data.taskData.TaskName}}</th>
</tr>
</table>
</ng-template>
</e-column>
<e-column field='Details' headerText='Details' width='300' textAlign='center'>
<ng-template #template let-data>
<table style='width:300px;height: 50px;' *ngIf='!data.taskData.IsSectionHeader' class="e-details-table">
<thead>
<tr>
<th width='100'>Allocated</th>
<th width='100'>Stories</th>
<th width='100'>Points</th>
</tr>
</thead>
<tbody>
<tr>
<td class="font-weight-bold e-allocation-field">
<!-- Show Tooltip as 'Actual: {data.taskDate.AllocationActual}%' -->
<span
[ngClass]='{
"endangered": data.taskData.AllocationStatus !== AllocationStatus.OnTrack
}'>{{data.taskData.Allocation}}%</span>
</td>
<td>{{data.taskData.StoriesCurrent}} of {{replaceEmpty(data.taskData.StoriesTotal)}}</td>
<td>{{data.taskData.PointCurrent}} of {{replaceEmpty(data.taskData.PointsTotal)}}</td>
</tr>
</tbody>
</table>
</ng-template>
</e-column>
</e-columns>
</ejs-gantt>