Which allows me to access the dropTarget, which is a DomElement. How can I go about both determining if this is a tree node, and getting said tree node?
1 Answer, 1 is accepted
0
Alex Gyoshev
Telerik team
answered on 09 May 2012, 06:51 AM
Hello Kyle,
var node = $(e.dropTarget).closest(".k-item");
if (node.length && node.parents(".k-treeview").length) { // the dropTarget is within the treeview,
// `node` is the closest treeview item
}
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!