ASPxClientGanttTaskUpdatingEventArgs Class
Contains data for the TaskUpdating event.
Declaration
declare class ASPxClientGanttTaskUpdatingEventArgs extends ASPxClientCancelEventArgs
Remarks
Web Forms:
<dx:ASPxGantt ID="Gantt" >
<ClientSideEvents TaskUpdating="function(s, e) {
if (e.newValues["Subject"].includes("test")) {
//...
e.cancel = true;
}
}" />
</dx:ASPxGantt>
MVC:
@Html.DevExpress().Gantt(settings => {
settings.Name = "gantt";
settings.ClientSideEvents.TaskUpdating = "function (s, e) {
if (e.newValues["Subject"].includes("test")) {
//...
e.cancel = true;
}
}";
...
}).Bind(
GanttDataProvider.Tasks, GanttDataProvider.Dependencies,
GanttDataProvider.Resources, GanttDataProvider.ResourceAssignments
).GetHtml()
Concepts
Inheritance
ASPxClientEventArgs
ASPxClientCancelEventArgs
ASPxClientGanttTaskUpdatingEventArgs
See Also