Back to Devexpress

ASPxClientGantt.DeleteResource(key) Method

aspnet-js-aspxclientgantt-dot-deleteresource-x28-key-x29.md

latest1.5 KB
Original Source

ASPxClientGantt.DeleteResource(key) Method

Deletes a resource.

Declaration

ts
DeleteResource(
    key: any
): void

Parameters

NameTypeDescription
keyany

The resource’s key.

|

Remarks

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

aspx
<dx:ASPxGantt ID="Gantt" runat="server" ClientInstanceName="clientGantt" >
    //...
</dx:ASPxGantt>
js
clientGantt.DeleteResource("resource_key");

Concepts

See Also

InsertResource(data, taskKeys)

ResourceDeleting

ResourceDeleted

ASPxGantt - Overview

MVCxGantt - Overview

ASPxGantt - 'How To' Examples

MVCxGantt - 'How To' Examples

ASPxClientGantt Class

ASPxClientGantt Members