ASPxClientGantt.SetFocusedTaskKey(key) Method
In This Article
Sets the focused task.
#Declaration
TypeScript
SetFocusedTaskKey(
key: any
): void
#Parameters
Name | Type | Description |
---|---|---|
key | any | The task’s key. |
#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.SetFocusedTaskKey("1");
#Concepts
See Also