Re-create Tree control drag and drop move

Hello,
Ive got a tree control where dragEnabled=true and I have
custom handlers for dragEnter, dragOver, and dragDrop so that I can
drag/drop from datagrid's to the tree and it works fine.
The issue is now the built in tree functionality for moving
nodes around within the tree is gone. When I set dropEnabled=true
it breaks the ability to drop from the datagrid to the tree.
How can i keep the ability to move tree nodes within the tree
and also be able to drag and drop from a datagrid onto the tree?
Thanks for any help!

While doing more testing I found the solution.. seriously...
dont know how I should have known this one...
on Tree dragOver handler:
if( from.id == 'data_grid' ) event.preventDefault();

Similar Messages

  • Is it possible to create a tree with drag-and-drop functionality using ajax

    I saw these samples;
    Scott Spendolini's AJAX Select List Demo
    http://htmldb.oracle.com/pls/otn/f?p=33867:1:10730556242433798443
    Building an Ajax Memory Tree by Scott Spendolini
    http://www.oracle.com/technology/pub/articles/spendolini-tree.html
    Carl Backstrom ApEx-AJAX & DHTML examples;
    http://htmldb.oracle.com/pls/otn/f?p=11933:5:8901671725714285254
    Do you think is it possible to create a tree with drag-and-drop functionality using ajax and apex like this sample; http://www.scbr.com/docs/products/dhtmlxTree/
    Thank you,
    Kind regards.
    Tonguç

    Hello,
    Sure you can build it, I just don't think anyone has, you could also use their solution as well in an APEX page it's just a matter of integration.
    Carl

  • Drag and Drop Movie Clips onto Plugin

    Hi All,
    We've built a plugin for Adobe Flash CS5.5, with a tree control in the plugin.
    We wish to be able to drag and drop movie clips from the canvas onto the plugin. Wondering if anyone could point me in the right direction?
    regards,
    -amit

    Hi,
    If you are developing the plugin in Flash, have you tried to listen to NativeDragEvent.NATIVE_DRAG_ENTER and NativeDragEvent.NATIVE_DRAG_DROP ?
    Once the plugin behaves like an AIR Application, you should have access to its API.
    I hope it helps !

  • Why cant i drag and drop movies into itunes?

    why cant i drag and drop movies into itunes?

    To make it display on the desktop, Finder > Preferences > General tab > check external disks.
    The drive might be formatted NTFS for Windows which is treated as read-only on the Mac.  Need to reformat it using disk utility.

  • I can't drag and drop movies from my hard drive onto my iPad.

    I just recently upgraded from an iPad to an iPad 2. I still have the old iPad. I have no problem dragging and dropping movies and TV shows from my external hard drive onto my old iPad, but I can't seem to do it with the iPad 2. It syncs movies and TV shows from iTunes, but I don't want to have to load everything into iTunes just to get it onto my iPad. Again, no problems doing it with the old iPad. Any suggestions? Thanks in advance.

    No I didn't - checked it, and now it works! I guess I forgot about setting that feature up when I got my first iPad. Thanks Allan!

  • How to get UIComponent of the selected node in af:tree with drag and drop

    Hi
    Are there examples showing how one could get a UIComponent using DropEvent to be used with a Popup showing as a custom "context menu" at the target node ?
    Right now, with dropEvent.getDropComponent, we could only get the tree.
    We like to get its selected node so that the popup shows at the node level, not at the tree level.
    Thanks

    Hi Frank
    Thanks for responding.
    We like to show on our custom "context menu" using PopupHints (not using facet name contextmenu) with 3 commandMenuItems.
    Since component id is needed by PopupHints to place this custom "context menu", we tried
    RichTree dropTree = (RichTree)dropEvent.getDropComponent();
    alignId = dropTree.getClientId(context);
    // alignId = pt1:pt_region1:1:pt1:pc1:navTree
    getClientId returns us the tree id and hence the context menu is placed next to tree.
    We like to place the context menu next to a target node of the tree when dragging and dropping.
    But we couldn't figure out how to get that node id.
    In your suggestion,
    List dropRowKey = (List) dropEvent.getDropSite();
    RichTree dropComponent = (RichTree) dropEvent.getDropComponent();
    dropCompoent.setRowKey(dropRowKey);
    how do we then get the id of this node then ? What's the method ?
    Thanks Frank

  • Drag and drop movies out of Aperture?

    I imported my movies into Aperture and now I can't get them back out.  I tried to drag and drop them to the desktop but it only creates an 'info' file that's only a few kb large.  I want to move about 300 files out of Aperture and into iMovie where I have much more control.  Thanks in advance to anyone that can help.

    Think I figured out my own problem after screwing with it for a while...  It looks like exporting the MASTER files is what I needed to do.

  • How to display xy coordintes of drag and drop movie

    can someone tell me how to display the coordinates of the red
    cirle shown in the drag and drop tutorial found here:
    http://www.flashvalley.com/fv_tutorials/advanced_drag_and_drop_in_Flash/
    I have done this tutorial just fine but dont know how to
    display its x and y coordinatetes in a dynamic text box as i move
    the red circle around the screen.
    thank you for any assistance you may give.
    steve

    Hi kglad,
    I dont suppose you could show me how to create the loop? My
    own research seems to indicate the onEnterFrame method would be
    easiest.
    I am just a beginner and even this is still beyond me.
    thanks

  • New JNDI name created for each drag and drop of database table into table

    Hi All,
    I'm using Netbeans 5.5 with Visual Web Pack with Mysql as backend. Whenever I drag and drop a database table into table component it creates new JNDI (data source) name for each table. I want to use single JNDI name for all tables. If I change the JNDI name to default name then the design disappears and shows error . Is there any option to set the JNDI name unique for all tables?
    Thanks in advance.

    Hi again,
    Well I've tried using the MouseListener / MouseMotionListener approach but it doesn't quite seem to work, although it does get the events correctly. I think the reason is that it doesn't interact correctly with the Java DnD machinery which is something that V.V hinted at. It's something that I may need to look into if / when I have more time available.
    I have to say though that I haven't had any problems with scrollbars - we're making fairly heavy use of large tables and if you drag over a table with a scroll bar and move to the top or bottom then it scrolls as you would expect and allows you to drop the data where you like. For this situation I've used pretty much the same approach as for the toy example above except that I've implemented separate source and destination TransferHandlers (the source table is read-only, and it really doesn't make sense to allow people to drag from the destination table so I've essentially split the functionality of the example handler down the middle).
    I'm not actually particularly in favour of messing too much with the mechanics of DnD, more because of lack of time than anything else. Guess I'll just have to put up with this for the moment. Doesn't help that DnD is so poorly documented by Sun.
    Thanks for all your help.
    Bart

  • How to add a code so my drag and drop movie clip will not stick  once it is dragged to final place o

    Hello all and kglad, I have to use the old drag and drop code on my movie clips, but the problem is when I drag the movieclip to the area on my .swf file once i release it, it sticks to the hand mover.
    I am encloseing the action script I am using could someone or kglad tell me what is missing from the code so that once it is released it will not stick, see code below
    circle.onPress = function(){
    startDrag(this);
    circle.onRelease = function(){
    stopDrag();
    I am desparate for help on this must get project ready for this afternoon
    Seal55

    there's nothing wrong with that code but it would be better to use:
    circle.onPress = function(){
    this.startDrag();
    circle.onRelease = function(){
    this.stopDrag();
    but that won't solve your problem.  there must be something else going on like a depth issue.  you may need to use swapDepths() to bring your circle under the mouse when releasing.

  • Can't Drag and Drop movies onto iPod

    I purchased a movie from the iTunes Store, which I downloaded to my Mac. I tried drag and drop the movie onto my iPod Touch (4G), and while it showed the little 'plus' icon over my iPod, it didn't transfer the movie. I made sure I had enough room on the iPod, I tried quitting iTunes and trying again, but nothing has worked. Of course, I can download the entire movie again from the iTunes store, but that's a lengthy process. In the old days I could drag pretty much anything from the Mac to the iPod. What gives? Thanks for any help.

    First of all, if you try Sync , you will get exactly the same message: *"the movie <name> has not been transferred to the iPod because it cannot be played on this iPod."* The message means exactly what it says. You may believe that the iPod should play them, particularly as Quicktime does, but the fact remains - it won't, which is why iTunes will not transfer them.
    I don't manually manage, I only use Sync and my iTunes is littered with .mov files that will not transfer to the iPod because I get that message. I wish I had cleaned up iTunes as I went along because now it's littered with stuff that doesn't work (except in iTunes or in Quicktime).
    As for .mp4 files, I cannot find one (at the moment) in my iTunes that has not transferred to the iPod - do you mean .m4v? I definitely have some .m4v files which will transfer and others that don't. I assume it has something to do with the way the audio is encoded into the video.

  • How to create border by drag and drop

    anyone can tell me how to create compound border using drag and drop for my interface??
    thank you.

    I have no idea what you're talking about. Please ask real technical questions instead of generalized and visualized questions.
    Seen the technical level of your questions as far, I highly recommend to stop immediately with that visual editor and start writing code yourself. Don't brainlessly drag'n'drop as long as you don't understand at all what happens behind the scenes. You would only get yourself in deeper trouble after all.

  • Tree Component Drag and Drop

    Hi, I've been playing around with a trail version of flex and
    was interested to know if anybody had tried to implement the drag
    and drop functionality of the Tree component to a TileList? After
    much messing about I noticed the format of the Tree data in the
    DragSource was different to that of other lists. I've tried
    overriding the addDragData method to see if I can change the format
    of the data although this seems to cause problems when the Drag
    complete event is triggered. Any ideas or help would be
    appreciated.

    Hey, Thanks for the reply. Yes this appears to work although
    it took a bit of messing around and I still had to override the
    dragCompleteHandler method of the Tree component to get the tree
    view to update. One issue I do have (This appears to be an issue
    with the tree component) is as you drag and drop files across from
    one tree to another, when you remove the last child node the parent
    node which has a folder icon changes to a document icon. Is there a
    way around this?

  • Drag and drop movies

    I tried to drag and drop a movie to Itunes and the movie would not show up. So i searched it up on YouTube and i saw a video that said to convert the file to a .mp4 file and that still didn't work. Can someone please help me put movies into Itunes? The version of Itunes i have is 11.1.3.8 if that helps any.
    Thank You

    Think I figured out my own problem after screwing with it for a while...  It looks like exporting the MASTER files is what I needed to do.

  • How do you drag and drop/move multiple emails from the inbox or mail archive folder to a file folder in your finder?

    I would like to archive hundreds of my emails that currently exist in my apple mail email filing system by moving them into file folders in the finder. I can do this easily with a single email but it wont let me do it with multiple emails or a complete folder. Is there any way of do this easily?

    Thanks very much for this. However, I understand how dragging and dropping files normally works. It just seems the it wont work when you do it with emails when you are transfering them into a normal finder system folder. If you highlight one file and drag it to a finder folder it works, but when you drag multiple, it just wont let you do it.
    Is there any work around for this? Thank you once again for  your time.

Maybe you are looking for

  • Just checking on another odd feature: Typedef enum Property Node "Value" not reflecting changes in the Typedef?

    Just encountered this odd behavior in LV 2011 which I reduced to the following example: - create a new VI and drop an enum control on te FP. - make this control a typedef and open the corresponding typedef - create a "case 1" item and a "case 2" item

  • Image Gallery in a tabbed panel

    This seems to be an intermittent issue for me (comes & goes). But, when placing an image gallery in a tabbed panel if I select multiple photos to add (at once) it will expand the tab out to 70 thousand or so pixels wide but, if I add photos 1 at a ti

  • How To insert Day And Time In flash AS2?

    I want to display Day and time in flash with AS2 not only that i want to put certain event on certain date and time that means i have a movie clip with object on it ,when i run it, it changes its position BUT now i want to change movie clip position

  • Splitting Large internal tables

    Hi All, How to split large internal table into smaller ones of fixed number of lines. The total number of lines are not known and is subjected to vary. Regards, Naba

  • RMAN Backup in ORacle Apps R12

    Hi All, We have oracle Apps 12.0.4 installed.Ours is a small application and we are in implementation stage. As of now, we are taking regular backup of db (datafiles) using RMAN by scheduled cron jobs. I am looking for options to schedule the backups