Skip to main content
All docs
V24.2

ASPxClientGanttTimeTooltipShowingEventArgs Class

Contains data for the TimeTooltipShowing event.

Declaration

declare class ASPxClientGanttTimeTooltipShowingEventArgs extends ASPxClientCancelEventArgs

Remarks

Gantt - TimeTooltipShowing Event

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents TaskUpdating="function(s, e) {
        var customContainer = document.createElement("div");  
        customContainer.classList.add("custom-time");
        customContainer.textContent = 'End Date: ' + e.item.end;  
        e.container.appendChild(customContainer); 
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.TaskUpdating = "function (s, e) { 
        var customContainer = document.createElement("div");  
        customContainer.classList.add("custom-time");
        customContainer.textContent = 'End Date: ' + e.item.end;  
        e.container.appendChild(customContainer); 
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientGanttTimeTooltipShowingEventArgs
See Also