drag and drop treeview

2 posts, 0 answers
  1. mher
    mher avatar
    3 posts
    Member since:
    Jun 2011

    Posted 08 Jun 2011 Link to this post

    I have two three views. One has hierarchical data and the other is flat data. is there a way to disable dragging and droping group items into the flat treeview?
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 14 Jun 2011 Link to this post

    Hi mher,

    I guess by "group" item you want to indicate an item that has child items. If so, you can examine the attached project where a basic approach is realized. It uses the PreviewDragStarted event of the source tree and stops the drag operation if the dragged item has children. Please let us know if this helped you.

    All the best,
    Petar Mladenov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top