TcxCustomTreeList.DeleteSelection Method
Permanently deletes selected nodes.
Declaration
procedure DeleteSelection;
Remarks
This method deletes selected nodes in the Tree List, and also removes persistent data from the bound storage (in bound and provider modes). The method also deletes children of selected nodes.
This method is in effect, if the tree list’s OptionsData.Deleting option is active, and the tree list is not in edit mode (the IsEditing property is False
).
If you wish to delete all nodes in the View, use the Clear method.
See Also