Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V20.2
  • ASPxClientGantt.TooltipShowing Event

    Occurs before a tooltip is displayed.

    Declaration

    TooltipShowing: ASPxClientEvent<ASPxClientGanttTooltipShowingEventHandler<ASPxClientGantt>>

    Event Data

    The TooltipShowing event's data class is ASPxClientGanttTooltipShowingEventArgs. The following properties provide information specific to this event:

    Property Description
    cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
    container Returns a container for an instance of the tooltip.
    task Returns the processed task.

    Remarks

    Use the TooltipShowing event to specify tooltip content before it is displayed.

    Run Demo

    <dx:ASPxGantt ID="Gantt" >
        <ClientSideEvents TooltipShowing="onGanttTooltipShowing" ... />
    </dx:ASPxGantt>
    
    function onGanttTooltipShowing(s, e) {
        //...
        e.container.innerHTML = 'text ' + e.task.title;
    }
    

    Concepts

    See Also