<GanttTooltipSettings Taskbar="<div>TaskID: ${TaskId}</div>"></GanttTooltipSettings> |
//..
<GanttTooltipSettings Taskbar="
<div>
${if (ganttProperties.isMilestone)}
<table>
<tbody>
<tr><td>Milestone</td></tr>
<tr><td>Task Name</td> <td>:</td> <td>${TaskName}</td></tr>
<tr><td>Date</td> <td>:</td> <td>${this.getFormatedDate(StartDate)}</td></tr>
<tr><td>Predecessor</td> <td>:</td> <td>${Predecessor}</td></tr>
</tbody>
</table>
${else}
<table>
<tbody>
<tr><td>Task</td></tr>
<tr><td>Task Name</td> <td>:</td> <td>${TaskName}</td></tr>
<tr><td>Start Date</td> <td>:</td> <td>${this.getFormatedDate(StartDate)}</td></tr>
<tr><td>End Date</td> <td>:</td> <td>${this.getFormatedDate(EndDate)}</td></tr>
<tr><td>Duration</td> <td>:</td> <td>${Duration}</td></tr>
<tr><td>Progress</td> <td>:</td> <td>${Progress}</td></tr>
<tr><td>Predecessor</td> <td>:</td> <td>${Predecessor}</td></tr>
</tbody>
</table>
${/if}
</div>">
</GanttTooltipSettings>
//.. |
S. No |
Query |
Syncfusion comments | |
|
something like this would be nice and way more flexible than your Javascript mixed mode workaround |
Currently, there is no separate tag support for tooltip components. As of now only string type support is given for the tooltip settings. This feature will be included in our upcoming volume 4 release, which is expected to be rolled out on December 31, 2020. | |
|
What is the shortcut ${...} for… |
For the details you have asked, we need to get the data by passing the ID. These actions can’t be done in the string template type of taskbar tooltip settings. So, the above-mentioned support needs to be included, to provide the proper solution for this query.
Thanks for your patience until then.
| |
|
How can we check if it is a parent-task |
We can check the record is either parent or not, using the below code snippet,
|