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

Treeview removes k-items from other controls as well

1 Answer 28 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Cuinn
Top achievements
Rank 1
Cuinn asked on 05 Mar 2012, 11:46 PM
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.

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 06 Mar 2012, 04:24 PM
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!
Tags
TreeView
Asked by
Cuinn
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or