I have a kendo grid and a kendo treeview. I want to drag from kendo grid row and add it to my kendo treeview. The only thing is that I want to know the id of the drop target (the exact child of the tree). I don't want to append it in the end of the treeview. How can I do this?
$("#table_messages").kendoDraggable({
filter: "tr",
group: "Grid",
hint: function (e) {
var item = $("<img src="images/inbox.png"/>");
return item;
}
});
$("#folders").kendoDropTarget({
filter: ".k-item",
group: "Grid",
drop: function(e) {
}
});