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