Skip to main content
All docs
V24.2

ASPxClientGanttFocusedTaskChangedEventArgs Class

Contains data for the FocusedTaskChanged event.

Declaration

declare class ASPxClientGanttFocusedTaskChangedEventArgs extends ASPxClientProcessingModeEventArgs

Remarks

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

Web Forms:

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

MVC:

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

Concepts

Inheritance

ASPxClientEventArgs
ASPxClientProcessingModeEventArgs
ASPxClientGanttFocusedTaskChangedEventArgs
See Also