Skip to main content
A newer version of this page is available. .
All docs
V20.2

ASPxClientGantt.GetTaskData(key) Method

Gets the task data.

Declaration

GetTaskData(
    key: any
): any

Parameters

Name Type Description
key any

The task’s key.

Returns

Type Description
any

The task data.

Remarks

The GetTaskData method returns data in the following format:

{ ID: “Task_id”, Name: “Task_name”, Color: “Task_color” }

The key should have the same format as used in the data source field.

console.log(clientGantt.GetTaskData("task_key"));

Concepts

See Also