- Home
- Forum
- Angular - EJ 2
- TooltipSettingsTaskbar not working
TooltipSettingsTaskbar not working
I am trying to follow the sample code in this demo:
https://ej2.syncfusion.com/angular/demos/#/material/gantt/tooltip-template
and obviously the tooltip works in the demo...however, it doesnt work in the stackblitz, and also doesnt work in the documentation pages. When i copy the code from the demo it's also not working, and i keep seeing the default tooltip.
In addition on the documentation pages, if you click on the 'splitter' line you cannot unclick/loose focus.
SIGN IN To post a reply.
3 Replies
LG
Logeswari Gopalakrishnan
Syncfusion Team
April 30, 2020 04:32 PM UTC
Hi Andrew,
Issue 1:
We have analyzed this issue and template samples not working properly in angular 9 version. It works fine in angular 8 version. We have prepared tooltip template sample with angular 8 version. Please find the below sample link.
We have validating this issue against angular 9 version. We will update further details on May 4,2020.
Issue 2: In addition on the documentation pages, if you click on the 'splitter' line you cannot unclick/loose focus.
We are also facing this issue in documentation page only. But if we prepared sample in application we wont get it.
Please find the sample link:
We will validate this issue and update further details on May 4,2020.
Regards,
Logeswari G
AT
Andrew Tarr
April 30, 2020 04:52 PM UTC
Is there currently no workaround for Angular 9?
PP
Pooja Priya Krishna Moorthy
Syncfusion Team
May 1, 2020 01:29 PM UTC
Hi Andrew,
We can render custom tooltip for taskbar by mapping script element’s id to tooltipSettings.taskbar property instead of using ng-template. Please find the below code example.
|
[app.component.html]
<ejs-gantt id="TooltipTemplate"
//...
[tooltipSettings]="tooltipSettings"
</ejs-gantt>
[app.component.ts]
this.tooltipSettings = {
showTooltip: true,
taskbar: '#taskbarTooltip',
}
[index.html]
<script type="text/x-template" id="taskbarTooltip">
<table>
//...
<tr>
<td style="padding:3px">Ends On:</td>
<td style="padding:3px">${this.getFormatedDate(EndDate)}</td>
</tr>
</table>
</script> |
Please find the below sample link.
Regards,
Pooja K.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
AT Andrew Tarr
- Apr 29, 2020 06:26 PM UTC
- May 1, 2020 01:29 PM UTC