Back to Devexpress

ASPxClientTreeList.DeleteNode(nodeKey) Method

aspnet-js-aspxclienttreelist-dot-deletenode-x28-nodekey-x29.md

latest1.1 KB
Original Source

ASPxClientTreeList.DeleteNode(nodeKey) Method

Deletes the specified node.

Declaration

ts
DeleteNode(
    nodeKey: string
): void

Parameters

NameTypeDescription
nodeKeystring

A string value that identifies the node.

|

Remarks

Once the DeleteNode method is called, the server-side ASPxTreeList.NodeDeleting event is raised. It allows you to cancel the delete operation. After a node has been deleted, the ASPxTreeList.NodeDeleted event is raised.

End-users can delete nodes by clicking the Delete button. To learn more, see Adding and Deleting Nodes

See Also

StartEditNewNode

Tree List

ASPxClientTreeList Class

ASPxClientTreeList Members