ASPxClientGantt.UpdateTask(key, data) Method
Updates the task data.
Declaration
UpdateTask(
key: any,
data: any
): void
Parameters
Name | Type | Description |
---|---|---|
key | any | The task’s key. |
data | any | The task data. |
Remarks
The key should have the same format as used in the data source field.
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
//...
</dx:ASPxGantt>
clientGantt.UpdateTask("0", { Subject: "Test Name" });
Note that the UpdateTask method does not allow you to change a task’s parent task (ParentID).
Concepts
See Also