Delete selected nodes iterating the nodes

2 posts, 0 answers
  1. Pradeep
    Pradeep avatar
    2 posts
    Member since:
    Aug 2012

    Posted 04 Sep 2012 Link to this post

    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.
  2. Nohinn
    Nohinn avatar
    167 posts
    Member since:
    Feb 2011

    Posted 07 Sep 2012 Link to this post

    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');
Back to Top