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

Problem to find items when we drag And Drop in treeview

3 Answers 68 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
BA
Top achievements
Rank 1
BA asked on 23 May 2012, 12:47 PM
Hello,
I search a way to refresh automatically items when i make a drag and drop
i 've seen through firebug trees keep always the same value of  item  although we drag items between trees .
My goal is send  selected item to my server ..but we will talk about that..

Thks to help me

Please check My  attach file

function test() {
    
    console.debug( $("#treeview-right").data("kendoTreeView").options.dataSource);    
}

3 Answers, 1 is accepted

Sort by
0
BA
Top achievements
Rank 1
answered on 23 May 2012, 03:25 PM
I just add a attach file to help you more understand my problem (item stil equal 0)
0
Leo
Top achievements
Rank 1
answered on 08 Jan 2016, 11:50 AM

Hello BA,

 I need to do the samething as you, drag and drop items from one treeview to another and then save in the database.

Can you please show me how did you do that, I am new in Kendo and MVC ?

 Thanks for you answer

0
Alexander Popov
Telerik team
answered on 14 Jan 2016, 08:12 AM
Hello Leo,

The behavior you are after is not supported out of the box. You could however, try subscribing to the change event of the TreeView's DataSource and manually update the database once the event is triggered.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TreeView
Asked by
BA
Top achievements
Rank 1
Answers by
BA
Top achievements
Rank 1
Leo
Top achievements
Rank 1
Alexander Popov
Telerik team
Share this question
or