This is a migrated thread and some comments may be shown as answers.

Delete selected nodes iterating the nodes

1 Answer 111 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Pradeep
Top achievements
Rank 1
Pradeep asked on 04 Sep 2012, 03:40 PM
I have a treeview like this structure
A
  1
  2
  3
B
  4
  5
  6

When I select 1, and 2 and click on delete button, the nodes should be deleted. Please suggest me. Thank you.

1 Answer, 1 is accepted

Sort by
0
Nohinn
Top achievements
Rank 1
answered on 07 Sep 2012, 09:43 AM
When you select them (if you're handling it yourself) add a css class to the nodes selected.
Then, with javascript:
$('#TREEVIEW').data('kendoTreeView').remove('.CSSCLASS');
Tags
TreeView
Asked by
Pradeep
Top achievements
Rank 1
Answers by
Nohinn
Top achievements
Rank 1
Share this question
or