Completed
Last Updated: 25 Jul 2022 13:42 by ADMIN
Release 3.5.0
Steven
Created on: 19 Apr 2022 17:21
Category: Gantt
Type: Feature Request
3
Allow DateTime format customization in the TooltipTemplate

How to get only the year and date in the Gantt Chart Tooltip template? The DataAttribute is not a valid date string.

<TooltipTemplate>
     <h4>@(((TooltipTemplateContext)context).Title)</h4>
     <h5>Start: @(((TooltipTemplateContext)context).DataAttributes["start"])</h5>
     <h5>End: @(((TooltipTemplateContext)context).DataAttributes["end"])</h5>

</TooltipTemplate>

0 comments