If I have a treeview, menu and panelbar on the same page and pass the following command to the treeview:
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.
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.