Skip to main content

ASPxClientTreeList.DeleteNode(nodeKey) Method

Deletes the specified node.

Declaration

DeleteNode(
    nodeKey: string
): void

Parameters

Name Type Description
nodeKey string

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