Problem to find items when we drag And Drop in treeview

4 posts, 0 answers
  1. BA
    BA avatar
    2 posts
    Member since:
    May 2012

    Posted 23 May 2012 Link to this post

    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);    
    }
  2. BA
    BA avatar
    2 posts
    Member since:
    May 2012

    Posted 23 May 2012 Link to this post

    I just add a attach file to help you more understand my problem (item stil equal 0)
  3. Kendo UI is VS 2017 Ready
  4. Leo
    Leo avatar
    9 posts
    Member since:
    Dec 2015

    Posted 08 Jan Link to this post

    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

  5. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 14 Jan Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready