Skip to main content
All docs
V25.1
  • ASPxClientGantt.GetTaskResources(key) Method

    Gets resources assigned to a task.

    Declaration

    GetTaskResources(
        key: any
    ): any[]

    Parameters

    Name Type Description
    key any

    The task’s key.

    Returns

    Type Description
    any[]

    The resources.

    Remarks

    Gantt - Resources

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

    <dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
        //...
    </dx:ASPxGantt>
    
    console.log(clientGantt.GetTaskResources("task_key"));
    

    Concepts

    See Also