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

ASPxClientGantt.SetFocusedTaskKey(key) Method

Sets the focused task.

Declaration

SetFocusedTaskKey(
    key: any
): void

Parameters

Name Type Description
key any

The task’s key.

Remarks

Gantt - Focused Tasks

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.SetFocusedTaskKey("1");

Concepts

See Also