Skip to main content
A newer version of this page is available. .
All docs
V21.1

ASPxClientGanttTaskDeletingEventArgs.values Property

Specifies the task values.

Declaration

values: any

Property Value

Type Description
any

The values.

Remarks

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents TaskDeleting="function(s, e) {
        if (e.values["Subject"] == "test name") {
            //...
            e.cancel = true;
        }
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.TaskDeleting = "function (s, e) { 
        if (e.values["Subject"] == "test name") {
            //...
            e.cancel = true;
        }
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
See Also