GridPanel drag and drop

  1. #1

    GridPanel drag and drop



    Hi all. I apologize if this is obvious or if it should be posted in the ExtJS forums and not Coolite's.

    We're looking to create a Windows explorer-ish application where a user can create folders and store documents in them. Barring the treeview component that's not out yet, we're attempting to complete the right-pane where it lists the folders and then the files.

    What we essentially need to be able to do from the grid panel portion is drag and drop a file/folder onto a folder and then call a method in the code behind to move the file (or folder) into the folder and then refresh the grid panel. But not the other way around (you don't want to drag a folder onto a file).

    In the future we'll need to be able to drag and drop into the treeview as well. I suppose we'll have to tackle that once it's available.

    Is this possible?

    Thanks for any help you can provide!
  2. #2

    RE: GridPanel drag and drop



    Oops - didn't see the "Help" forum.

    Would someone be so kind as to move this over there?

    Thanks - I appreciate it!
  3. #3

    RE: GridPanel drag and drop

    Hi davidhoyt,

    I think some of this drag/drop functionality might be possible now.


    Do you have a sample page demonstrating the configuration and arrangement of the GridPanel and other elements on the Page. This would help in fully understanding the scenario you are attempting to build and help generate a code sample. Or a screen capture or mockup would be helpful as well. Or, pointing us to some link online that might demonstrate something similar.*


    Geoffrey McGill
    Founder
  4. #4

    RE: GridPanel drag and drop

    I attached an example of windows explorer.

    Essentially we want to drag and drop the files around. We already have folder and file icons.
  5. #5

    RE: GridPanel drag and drop

    Similar to this: http://extjs.com/forum/showthread.php?t=36495

    But with folders in the gridpanel as well.
  6. #6

    RE: GridPanel drag and drop



    Anyone?

Similar Threads

  1. Drag-drop Gridpanel
    By johny_bravo in forum 1.x Help
    Replies: 0
    Last Post: Mar 25, 2011, 5:37 PM
  2. [CLOSED] GridPanel: Drag and Drop
    By RomualdAwessou in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Aug 11, 2010, 12:00 PM
  3. [CLOSED] GridPanel Drag and Drop
    By martin.mosimann in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 21, 2009, 6:47 AM
  4. Drag & Drop Between GridPanel and Form
    By SilverSeva in forum 1.x Help
    Replies: 0
    Last Post: Jul 22, 2009, 10:06 AM

Posting Permissions