Hi.
I have been searching the internet high and low but can find some examples that can help me, I'm developing an application in wpf, in it I use a datagrid, each cell as a datatemplate with and image, in a mosaic style, on the side of the grid I have some tiles to use on the grid, I'm able to drag the tiles but can't drop then on the g...
I am using this http://jqueryui.com/demos/droppable/
But I have a problem dragging to a droppable that is smaller than the draggable.
It will not drop on the droppable, but on the top left of the droppable.
Is there any way around this?
Here is the code, thanks.
$('.draggable').draggable({
revert: 'invalid',
revertDuratio...
So I've got drag & drop working. When a drop occurs, I do some processing, and sometimes there is a result that I want to make the user aware of. Right now I am just outputting to the console which isn't very nice.
What's an appropriate way to display a status result from a drag & drop? Somehow a modal dialog box seems inappropriate, an...
I have made my java application's jar file and now want to create drag and drop installer for it.Also I want to know that how to create shortcut for Applications folder for the same purpose.
how can I do this?
...
Hi,
I'm using Dojo.dnd to transfer items between to areas. The problem is: the items will snap into place once I drop them, but I'd like to have them stay where I drop them, but only for one area.
Here's a little code to explain this better:
<div id="dropZone" class="dropZone">
<div id="itemNodes"></div>
<div id="targetZone"...
Im using drag drop to treeView items in a tree in a WPF application. There is some unexpected behaviour when I drag a node from the bottom edge and drag it to some other node. The node that I drag is not getting moved, but the node immediately below it is. Please let me know if you have any thoughts on this or experienced this before. Th...
I'm discussing some software design issues with a potential client and the idea of Web-to-Print technology has come up.
We need users to be able to drag images from an image library to various regions defined by a template. Example: Images may go in box A, B, or C and text may go in boxes D or E. These templates would be setup
Boxes A...
I am trying to handle a drag & drop interaction, which involves mouse down, mouse move, and mouse up.
Here is a simplified repro of my solution that:
on mouse down, creates an ellipse and adds it to a canvas
on mouse move, repositions the ellipse to follow the mouse
on mouse up, changes the colour of the canvas so that it's obvious wh...
I want to implement DropTargetListener with a JTable as a target. This is roughly what I would like to do:
@Override public void dragOver(DropTargetDragEvent event) {
MyItem item = getMyItemFromTransferable();
int nrows = item.getTableRowsRequiredForDrop();
// now highlight rows in the table under the drop cursor.
}
Ho...
JQuerry data grid with items&columns drag&drop, Items sort. Is there any?
So I need Dragable\Dropable Items
Drag and drop sorting of table columns
Sort Items in columns
You can taste how sweeet is Adobe Flex builder Data Grid and Its Drag-Drap here: http://blog.flexexamples.com/2007/09/19/dragging-rows-between-two-different-flex-dat...
I am developing a small application with images and trash box icon on right hand bottom.
I have multiple images floating in the main window, and using mouse I can move image from one corner to other corner of window, left, right, top and bottom.
I can't figure out how do I catch an event when a image touches and panel (with trash box ...
I'm developing two DataGrid with drag and drop support. Multiple items can be selected from the source data grid, and dropped into the target data grid.
I'm using an drag and drop event listener which completes the operation only in certain cases. I'm using event.preventDefault() but it doesn't work, since it stops the drag and drop fr...
Hi
I have a table. in runtime i need to move the data from one cell to another.
i need to implement in .net website
Please help me ASAP
Regards,
Sasi
...
I'm writing a user control in WPF which is based on a ListBox. One of the main pieces of functionality is the ability to reorder the list by dragging the items around. When a user drags an item I change the items Opacity to 50% and physically move the item in an ObservableCollection in my ViewModel depending on where the user wants it. O...
I'm making Windows Form App in C sharp and best control for what I need is ActiveX Control (Calendar). The problem is that I need drag and drop but Control that I use does not have events for it (only positive thing is that it has property "AllowDrop"). (Control is Xtreme Calendar - Codejock)
...
I have a website http://fewbs.com. I have a shortcuts (bookmarks) section onto the left. Here I provide menus and submenus and drag and drop of shortcuts and menus. Though I have been able to do it in IE and FF but its not working for opera and chrome.
In IE it works by default, in FF by using -moz-user-focus: ignore; -moz-user-select:...
I am trying to implement drag and drop between two listboxes.
I have a few problems
1) I am not detecting any drag events of any kind from the source list
box/ I do not seem to be able to drag from it
2) I can drag from my desktop to the target listbox and I am able to
detect 'dragenter' 'dragover' and 'dragexit' events. I am noticin...
I have a TPageControl whose pages are all various forms that are attached using ManualDock(). The user should be able to rearrange the tabs by dragging them, which works already. It should however also be possible to undock the docked forms.
For now I have the following code:
procedure TMainForm.PageControlMouseDown(Sender: TObject; Bu...
I am working on something that needed custom drag-and-drop functionality, so I have been subclassing View, doing a bunch of math in response to touch events, and then rendering everything manually through code on the canvas in onDraw. Now, the more functionality I add, the more the code is growing out of control and I find myself writin...
Greetings,
I am puzzled as to how and when drawRect is supposed to be called in a NSCollectionView subclass.
I implement drag and drop operation in order to move NSCollectionViewItems within the collection, and would like to draw a visual indication of where the drop would end.
The subclass does not call drawRect during the drag sessi...