Back to Devexpress

ASPxClientGanttTooltipShowingEventArgs.container Property

aspnet-js-aspxclientgantttooltipshowingeventargs-68692f07.md

latest1.2 KB
Original Source

ASPxClientGanttTooltipShowingEventArgs.container Property

Returns a container for an instance of the tooltip.

Declaration

ts
container: any

Property Value

TypeDescription
any

A container for the tooltip.

|

Remarks

Web Forms:

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

MVC:

cshtml
@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

ASPxClientGanttTooltipShowingEventArgs Class

ASPxClientGanttTooltipShowingEventArgs Members