Skip to main content
All docs
V24.1

ASPxClientGanttTooltipShowingEventArgs.container Property

Returns a container for an instance of the tooltip.

Declaration

container: any

Property Value

Type Description
any

A container for the tooltip.

Remarks

Web Forms:

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

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.TooltipShowing = "function (s, e) { 
        //...
        e.container.innerHTML = 'text ' + e.task.title;
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
See Also