Skip to main content
All docs
V24.2

ASPxClientGanttResourceInsertedEventArgs Class

Contains data for the ResourceInserted event.

Declaration

declare class ASPxClientGanttResourceInsertedEventArgs extends ASPxClientEventArgs

Remarks

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

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents ResourceDeleting="function(s, e) {
        //...
        e.values["Name"] = "Custom resource";
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.ResourceDeleting = "function (s, e) { 
        //...
        e.values["Name"] = "Custom resource";
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()

Concepts

Inheritance

ASPxClientEventArgs
ASPxClientGanttResourceInsertedEventArgs
See Also