Treeview removes k-items from other controls as well

2 posts, 0 answers
  1. Cuinn
    Cuinn avatar
    13 posts
    Member since:
    Aug 2011

    Posted 05 Mar 2012 Link to this post

    If I have a treeview, menu and panelbar on the same page and pass the following command to the treeview:

    treeview.remove(".k-item")

    then all of the nodes from all of the controls are removed.  Now, I know that I can be more specific with my selector and only select k-items from the treeview, but you'd think that it would make sense for the treeview to only remove items that it "owns".  I have not tested this with the other controls (menu, panelbar) to see if they also work this way when removing nodes.

    Thanks,
    Cuinn.
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2527 posts

    Posted 06 Mar 2012 Link to this post

    Hello Cuinn,

    We have reproduced the issue and it will be fixed in the Q1.2012 release. Thank you for your feedback.

    Greetings,
    Alex Gyoshev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top