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

Attach another dragTarget to nodes in Treeview

0 Answers 44 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Michio
Top achievements
Rank 1
Michio asked on 13 Oct 2012, 11:47 PM
Hi,

I'd like to use the treeview, and simultaneously drag and drop elements outside it to the nodes in it.

What I'd like to do is:
1. When manipulating the nodes in the treeview, it acts as the defaults of tree view
2. When dragging the element outside the treeview and drop it in the treeview, it fires my dropTargetOnDrop function.

I have tried the followings:

1. Set the draggable element 

$("#draggable").kendoDraggable({group: "list", ....});


2. Set the dropTarget elements

$(".k-in").kendoDropTarget({group: "list", dragEnter: dropTargetOnDragEnter, ...});

The result is the manipulation the nodes in the treeview fires my dropTargetOnDragEnter function.

Could you please give me some advices?

Thanks in advance.

Michio SHIRAISHI



No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Michio
Top achievements
Rank 1
Share this question
or