[CLOSED] DataView to DataView Drag and Drop

  1. #1

    [CLOSED] DataView to DataView Drag and Drop

    Hi,

    I've been looking for an example of drag and drop from within the same dataview. My scenario is that I have a DataView with various items in, some of them are folders. I'd like to be able to pick up an item/folder and drag it to another folder in the same DataView.

    Is this possible? I've looked into using ext:DropZone but not sure if I'm on the right track as the DataView has ext:DataViewDraggable plugin for dragging but nothing similar for dropping?

    Any help much appreciated.
    Last edited by Daniil; May 18, 2012 at 4:50 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I think you are on the right direction to use DropZone.

    As far as I can understand the DataViewDraggable plugin just defines DragZone on DataView. You can use it.

    But I have never met any implementations of DropZone for DataView. So, you have to implement it.

    The following example should help you to start.
    http://examples2.ext.net/#/DragDrop/Advanced/Example3/

    Repeat myself, DragZone is, actually, already implemented in the DataViewDraggable plugin. So, I would start to develop DropZone. Further, if you will need some additional functionality of DragZone, you will be able to override/extend the DataViewDraggable plugin. Or just implement DragZone basing on that plugin.

Similar Threads

  1. Drag and drop reordering in Dataview
    By jophinm in forum 1.x Help
    Replies: 2
    Last Post: Nov 11, 2011, 11:19 AM
  2. [CLOSED] DataView in IE
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 11, 2011, 3:30 PM
  3. Drag & Drop from dataview to multiselect
    By Ares in forum Feature Requests
    Replies: 0
    Last Post: May 14, 2009, 3:33 PM
  4. [CLOSED] Drag-Drop From DataView to TreePanel
    By juanpablo.belli@huddle.com.ar in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 11, 2009, 6:46 AM
  5. [CLOSED] MultiSelect with drag and drop, Drop listener
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 30, 2009, 8:25 AM

Posting Permissions