Skip to main content
All docs
V24.1

ASPxClientGanttFocusedTaskChangingEventArgs Class

Contains data for the FocusedTaskChanging event.

Declaration

declare class ASPxClientGanttFocusedTaskChangingEventArgs extends ASPxClientCancelEventArgs

Remarks

Run Demo: ASPxGantt - Client-Side Events Run Demo: MVCxGantt - Client-Side Events

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents FocusedTaskChanging="function(s, e) {
        if (e.key == 0) {
            //...
        }
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.FocusedTaskChanging = "function (s, e) { 
        if (e.key == 0) {
            //...
        }     
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

Inheritance

ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientGanttFocusedTaskChangingEventArgs
See Also