Prevent tree view expand when dropped a node to other treeiview

3 posts, 1 answers
  1. Dharmalingam
    Dharmalingam avatar
    5 posts
    Member since:
    May 2015

    Posted 09 Jun 2015 Link to this post

    Hello,

     I am having three tree views named role, responsibility, function . I can able to drag and drop a function to responsibility and responsibility to role.

    Step 1: I have dragged a responsibility over the role node and the dropped responsibility has been added in the role

    Step 2: I dragged a function  and dropped over the responsibility.

    Step 3: After the dropped function on responsibility, the role also refreshing with the function which we don't want. How to restrict
    this functionality.

    Thanks and Regards,

    Dharma

     

     

  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 11 Jun 2015 Link to this post

    Hello Dharma,

    We have already discussed this topic in the support ticket that you posted. Please do not submit duplicate questions in the forums or the ticketing system.

    I will copy-paste some information for other readers to see:

    When a TreeView dataItem is copied to another TreeView, it exists in both TreeViews as the same dataItem. TreeView selection and expansion is performed within the context of a dataItem. In other words, selection and expansion will start to work synchronously for all instances of the given dataItem. This is by design.
     
    In order to avoid the synchronization, you will need to append a Javascript object to the destination TreeView, instead of a dataItem instance.


    Regards,
    Dimo
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Dharmalingam
    Dharmalingam avatar
    5 posts
    Member since:
    May 2015

    Posted 11 Jun 2015 in reply to Dimo Link to this post

    Hello Dimo,

    Regret for the inconvenience caused. We will continue with support ticket. 

    Thanks for your update.

     

    Regards,

    Dharma

     

     

Back to Top