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

Kendo Drag&Drop: How to get treeView destination li uid or dataitem

0 Answers 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Владимир
Top achievements
Rank 1
Владимир asked on 03 Mar 2017, 02:57 PM

Since Kendo forums are closed for peasants, i'll try to ask here. 

The task is to get all needed data (dataItems) for further post request by draging element from grid to treeview (some file manager logic - change directory). I managed to get grid dataitem by getting uid, but i can't find "li" uid, only treeview's uid. Is the any way?

Thanks.

$("#...").kendoDropTarget({
            drop: function (e) {
                var sourceUid = e.draggable.currentTarget.data().uid,
                      destinationUid = ?    

 

I managed
I managed

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Владимир
Top achievements
Rank 1
Share this question
or