Oct 09, 2008, 3:03 AM
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!