Planned
Last Updated: 03 Jun 2022 14:46 by ADMIN
Scheduled for 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