Skip to main content
All docs
V24.2

ASPxClientGanttTaskUpdatingEventArgs.newValues Property

Specifies the task’s new values.

Declaration

newValues: any

Property Value

Type Description
any

The new values.

Remarks

Web Forms:

<dx:ASPxGantt ID="Gantt" >
    <ClientSideEvents TaskUpdating="function(s, e) {
        console.log("Task title was changed from " + e.values["Subject"] + " to " + e.newValues["Subject"]);
    }" />
</dx:ASPxGantt>

MVC:

@Html.DevExpress().Gantt(settings => {
    settings.Name = "gantt";
    settings.ClientSideEvents.TaskUpdating = "function (s, e) { 
        console.log("Task title was changed from " + e.values["Subject"] + " to " + e.newValues["Subject"]);
    }";
    ...
}).Bind(
    GanttDataProvider.Tasks, GanttDataProvider.Dependencies, 
    GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
See Also