drag-and-drop

How to build a portal page with saveable state in jquery UI?

Hi, I know I should spend more time researching this and having a go before asking the question but I've got just 2 weeks to build a site with a portal style homepage (much like http://www.bbc.co.uk). I'm fairly good with jQuery and have played with jQuery UI draggables in the past but I was wondering if there were any tutorials or bes...

How can I drag an eMail from Outlook into an Adobe AIR application

This is a quiestion concerning both, Adobe AIR and MS Outlook. I'd like to drag an eMail from Outlook into an AIR application. I want the following data to be transferred into the AIR application: unique ID of the mail in Outlook to create a link into Outlook rich text of the mail some information about the mail like sender, recepient...

How can I tell if a drag and drop operation failed?

It seems to me there is no way to detect whether a drag operation was successful or not, but there must be some way. Suppose that I want to perform a "move" from the source to the destination. If the user releases the mouse over some app or control that cannot accept the drop, how can I tell? For that matter, how can I tell when the dra...

Making a component less sensitive to Dragging in Swing

A JComponent of mine is firing a mouseDragged event too vigorously. When the user is trying to click, it interprets is as a drag even if the mouse has only moved 1 pixel. How would I add a rule for a particular component that amounted to: Do not consider it a drag event unless the mouse has moved 10 pixels from the point at whi...

jquery drag/drop problem: drop() function never gets called.

Hello, I'm having trouble with the droppable effect in jquery 1.3.1 (UI version 1.5.3). As far as I can tell, everything works perfectly except the drop() function doesn't get called. I can tell the droppable target is accepting the element being dragged (via the thumbnail class), but the draggable item won't drop. Thanks for your help ...

How can I remove a column from a JTable with dragging?

In Outlook I can remove a table column if I drag the column header out of the table. How can I do the same in Java with a Swing JTable? A default drag & drop operation is not possible because this feature is independent of the target position. It depends only from the drag source. ...

jQuery UI Drag a element from one list and put it into an other

I am using jQuery UI and can create an simple drag 'n drop list. But now, I want to drop the element into an other list. jQuery always thinks the item has been droppen on the false place and slides it back into the origin list. ...

WinForms TreeView

I am looking for a WinForms treeview control with following requirements: Should be not so hard to write code for it (most tree/list combinations are way too complicated) Should have some sort of easy drag and drop capabilities (including a vista-explorer style drop marker) Should be free or at least affordable Should provide some free...

Cannot get file data from the clipboard using Flex

Given: A Flex TileList with the following event: <mx:nativeDragDrop> <![CDATA[ if(event.clipboard.hasFormat(ClipboardFormats.FILE_LIST_FORMAT)) { var files:Array = event.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT) as Array; for each(var file:File in files) { // file.data is null here! } ...

How to prevent an item being dropped into one TileList from another using Flex?

I would like to prevent a user dragging certain items from one TileList to another. Whether or not they can be dropped into the TileList should be determined based on data associated with the item. To show that the item cannot be dragged into the TileList I would like to show the normal white cross in red circle icon next to the cursor...

I need a drag and drop control for C# winforms

I'm looking for a control for C# that can contain other controls, takes care of layout and allows drag and drop rearranging of the layout order. Simularly to the way the iphone/ipod allows you to rearrange apps. Thanks. ...

How to implement drag and drop in Flex Grid control?

I have a simple Grid control with some buttons that I want to be able to move around. The code below does work, but it takes a lot of effort to actually do the drag&drop and it is not clear where the drop will happen. I have to move the mouse around a lot to get to a state where the drop is not rejected. I would appreciate any suggestion...

ListView's DragEnter, DragOver, DragDrop event not raised (AllowDrop=True)

Hi all. This one is very weird: My app works just fine, but suddenly the damn ListView control's events are not raised any more. It just comes and goes without any clear reason. (Obviously) I've set the AllowDrop property to True and handled the DragEnter, DragOver and DragDrop events as follows: Private Sub lstApplications_DragDrop(B...

WPF ListView Databound Drag/Drop Auto Scroll

Hi there, I've been working with Bea's solution here for a while and finding it very helpful. Problem now I'm having is when I drag-n-drop items within or to another ListView control and I want to scroll up/down "during" the drag (moving an item from index 30 to index 1), it's not happening. I would have to drag to the top of the visua...

Drag and drop image into a web form

We have a web page (HTML javascript and PHP mostly) that allows a user to upload an image. We have the normal browse button, and it works fine. However, we want to add the functionality to drag and drop an image into the text field instead. gmail allows you to do this in their mail app, so it's possible. The only way we've thought of to...

drag and drop using javascript

Hi All, I have some items in panel A along with some descriptions like time of delivery. All items in different div. In the second panel I have list of drivers with different timings like 9AM, 10AM and so on. Now I need, that, when I drag and drop itemA from Panel1 to DriverA in panel2, I want that the item shoud be added to the droppe...

jQuery UI put items into other containers

I search a good way to put <li> entrys into other <ul> container. The clue is, that when the <li> element is dropped into it's origin <ul> it should be reverted to it's origin place. I do not want them to be sortable. When it is droppen on an other list, it should be added to that <ul>. I am using the sortable plugin with the "connectWi...

Mimicking the UltraGridColumnChooser's drag & drop ability

(Infragistics 2008 Vol. 3, CLR 2.0) Infragistics's UltraGrid comes with a column chooser user control, which is simply a vertical arrangement of columns with checkboxes that toggle a column's hidden state. In addition, it allows you to pick a column and drag it directly to the grid so you don't have to manually position it afterwards. (...

Constructing a DataFlavor for drag and drop of an array of java objects

I want to implement drag and drop between two components within the same JVM. I'm passing an array of objects which are not serializable, so I'm trying to find the correct incantation of javaJVMLocalObjectMimeType to pass in. However, I keep getting an illegal argument exception. As an example, if i have ExampleClass Appending class p...

Arrange GUI elements in WPF in a similar way to the applications on the iPhone

I would like to arrange UIControls in WPF in a similar way to the applications on the iPhone. They should be positioned on a grid, but a user should be able to drag them somewhere else, after releasing the mouse button (or the finger in case of an iPhone) the selected UIControl should snap back to the next position in the grid. The other...