Implementing Drag and Drop Functionality

I'm implementing drag and drop a record from a table to another table.
I already referred below:
http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/af_dnd.htm#CIHDADFG
But I have a question.
In example 32-5, there is a source like following:
+// And now get the actual data from the dragged model.+
+// Note this won't work in a region.+
DnDDemoData dnDDemoData = (DnDDemoData)dragModel.getRowData();
In this case, 'DnDDemoData' type looks like each project's own suitable row type.
But I don't know what type is suitable in my project.
I use a two VOs for two tables.
So I think it's ViewRowImpl class type, but it's not.
How can I find suitable row type?

Hi Timo,
Could not understand what exactly need to have for this...
// And now get the actual data from the dragged model.
// Note this won't work in a region.
DnDDemoData dnDDemoData = (DnDDemoData)dragModel.getRowData();
Could you please elaborate on this!!!
Thanks,
Vin

Similar Messages

  • How to implement drag-and-drop functionality in xMII iGrid?

    Hi,
    Is it possible to implement the drag and drop functionality between two iGrids of xMII in an irpt page? If yes can anyone please explain how?
    Thanks in advance,
    Dipankar

    http://tool-man.org/examples/sorting.html
    You would have to be creative and do something like this.

  • Implement Drag and drop functionality in my application

    I want to drag image from one UIImageView to other UIImageView.
    Is there any event handle to this drag and drop functionality.
    Any one have different idea to handle this. than please reply.
    Any coding idea related to this?

    it is possible but u have to write some advance code to handle plz mention ur Forms version and other info
    Forms 10g and above possible with Java beans
    Forms 6i there is a demo in forms online help ........ Search DRAG
    To enable drag and drop on an item:
    1     Attach the PL/SQL library DRAG.PLL, which contains the  Mouse package, to your module.
    2     Create a WHEN-MOUSE-DOWN trigger on each item that can be dragged.  From this trigger, call the Click routine from the Mouse package.
    3     Create a WHEN-MOUSE-MOVE trigger on each item that can be dragged.  From this trigger, call the Move routine from the Mouse package.
    4     Create a WHEN-MOUSE-UP trigger on each item that can be dragged.  In this trigger, write your application specific code.Baig
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • How to implement drag and drop functionality in a HTML5 webpage using touch events?

    Hi all,
         I need to create a webpage having two parts.One part is having set of SVG images into it and other part is having canvas.I need to drag those image onto the canvas allowing same image for multiple times and those images on the canvas are movable inside the canvas only. This webpage is only used in iphone or ipad like touching devices so I need to handle touch events.
         There is already jQuery plugin for drag drop functionality but it is not supported for touch events.
    It is only for desktop veriosns.So if you know about any jquery plugin let me know.
         So please help me to carry out this task.

    I have tried using the same but still not working.
    I have handled touch events like touchstart,touchend,touchmove.
    But the problem is when I drag the image from upperbox onto canvas, the clone of that image is creating but the image which I dragged on canvas gets vanished.
    I am creating clone because I want to add multiple images onto canvas.
    Atik

  • Does SAP ECL viewer has drag and drop functionality...

    Hi,
    Does ECL viewer has drag and drop functionality for example we can drag and drop file from windows sever to SAP. So that it can be used later on using BDN.
    Thanks.
    Regards,
    Rajesh.

    Implement this program,  it is a cut/paste solution.  Again, you must have the ECL component installed on your SAPgui.
    report zrich_0001 .
    parameters: p_check type c.
    start-of-selection.
    at selection-screen output.
      data: dockingleft   type ref to cl_gui_docking_container,
            dockingright  type ref to cl_gui_docking_container,
            ecl_viewer   type ref to cl_gui_ecl_2dviewer,
            html_viewer  type ref to cl_gui_html_viewer.
      data: repid type syrepid.
      data: url(2048) value 'c:'.
      repid = sy-repid.
      check dockingleft is initial.
      create object dockingleft
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingleft->dock_at_left
                            ratio     = 50
                            extension = 1000.
      create object html_viewer
           exporting
                parent    = dockingleft.
      call method html_viewer->show_url
           exporting
                url       = url.
      check dockingright is initial.
      create object dockingright
                  exporting repid     = repid
                            dynnr     = sy-dynnr
                            side      = dockingright->dock_at_right
                            ratio     = 50
                            extension = 1000.
      create object ecl_viewer
          exporting
             parent             = dockingright
          exceptions
             cntl_error         = 1
             cntl_system_error  = 2
             create_error       = 3
             lifetime_error     = 4
             others             = 5.
         call method ecl_viewer->create_toolbar
            exporting
                close_button      = ' '
                tools             = 'X'
                viewer            = 'X'
                navigation        = 'X'
                options           = 'X'
                viewer_openfile   = 'X'
                viewer_savefile   = 'X'
                tool_measurement  = 'X'
                remove_document   = ' '
            exceptions
                cntl_system_error = 1
                cntl_error        = 2
                cntb_btype_error  = 3
                dp_error          = 4 .
    Now drap a PDF file from the left container, and drop in the right side.  Slick, right?
    The ECL doesn't handle every file type,  but PDF works good.
    Regards,
    Rich Heilman

  • Records Management - Drag and drop functionality

    Hi,
    I'm trying to find out how it is possible to limit 'drag and drop' functionality for nodes. For example, let's say we have model nodes A and B with all element types assigned and visible for all roles. I want to be able to automatically store documents in both A and B nodes but not to be able to drag and drop documents from node A to node B.
    Does anyone have idea if/how this is possible?
    Many thanks in advance!
    Tijana

    Hai,
    To restrict the drag and drop functionality, please check the function module SRM_REC_UPDATE_NODE_DESC. I havenu2019t implemented this but I guess this would help you.
    Regards
    Keerthika

  • The drag and drop functionality is grayed out in Captivate 8. How do I turn this on?

    I'm trying to play with drag and drop functionality in Captivate 8, but it's grayed out. All the tutorials I've watched show it working, but in my project, I can't access it. Any ideas?

    I asked about this in another thread, to add a list of what is NOT supported in responsive projects to the documentation:
    objects detected by the HTML5 tracker
    Drag&Drop as you discovered
    line shape
    free polygon shape
    This is my list. Answer in another thread from the staff was: what is dimmed, grayed out is not available. Not a pleasant way to discover limitations, although I understand not everything could be implemented in this very first version of Captivate responsive design functionality.
    Lilybiri

  • HT4061 Drag and drop function in Windows 8 doesn't work with iTunes.

    How to import music files from Windows 8 to iTunes 11.0.3 x64? Drag and drop function doesn't work. Thank you!

    > Straight drag and drop to PS produced a warning message so, when I then tried to drag on to the PS task bar button, I got the Ø cursor but on moving into the PS window and releasing the mouse button there, the file opened.
    That's the strangest behavior that I would imagine. Are you using the default vista aero theme or you have turned down or using custom theme and visual effects?
    > it needs to be pointed out that this is a really bad habit that will smack you in the face one day...
    I don't understand what you mean. If you are concerned about viruses, in my understanding copying and opening a file from the internet which is what "Save image as" does, is less safe than coping and pasting pixels. Copying and pasting pixels is the same as coping and pasting text from your web browser, it can't execute hidden code. If that was possible everybody will get viruses at the moment text or pixels are displayed on your browser.
    By the way when you view a page from the internet, image files are already downloaded in the temp folder of your computer but only the browser uses them unless you open them from there and use in another program. So if you have a virus protection the images are already scanned.

  • Unable to use "drag and drop function" from outlook

    We are changing from Lotus to outlook and this has made a problem with getting pdf-files into OAWD directly .
    Procedure was like this in Lotus
    1. We get documents (FI, F-43, aso ) by email
    2. We use OAWD function "drag and drop" , document is attached to a document type and workflow is triggered
    3. We pick up documents from Business workplace , handle the document and send it to the approver (who earlier got it directly in their mailbox "lotus")
    so far so good , everything worked well
    Unfortunately we changed to outlook, non attached files can be "drag and dropped" into OAWD (I understand the part about outlook is showing links instead of "real" pdf and know this is part of the problem)
    My question, it can not be possible that we have to manually save the documents/attached files from outlook into "desktop" to later use the drag and drop function?
    I have read about the programms to solve problem , ex "inPuncto", but our experts says there will be problem with connector to workflow from OAWD.
    I have my greatest doubts about that because this must be really two diffrent moduls, one for converting from outlook and the other must be unchange (undependent of the earlier procedure). SAP can not know from what program the documents will be dragged? 
    Suggestion about some OAWD-adaptor ?
    Any suggestions about great solutions ?

    it seems there is no way.
    See note 1797073
    Is there someone with a better solution?

  • SharePoint 2013 How to disable Drag and Drop Functionality

    Hi,
    In SharePoint 2013 in document library we have default behavior of drag and drop documents in document library. How to disable drag and drop documents in document library?

    Hi,
         As a work around, you can edit the Drag and Drop js as to remove the drag and drop functionality, edit the document library page (default
    page) place the content editor web part on top of the library include the modified Drag and Drop js file in the content editor web part, Please save the Drag and Drop js file to other location (probably Site Assets library etc).
    Hope it helps!!!  
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet

  • 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

  • Captivate Drag and Drop Functionality

    Please could someone confirm when Captivate will ship with drag and drop functionality as standard rather than as an extension only available to subscription or ASA users?
    Thanks.

    Adobe doesn't usually give any advance confirmation dates for when they will ship a new product version or patch.

  • WD ABAP: Drag and drop functionality

    Hi,
    Is there a UI element/event to simulate the drag and drop functionality in Webdynpro ABAP? I would like to simulate the functionality of context mapping.
    I have the requirement to show the hierarchy of say Country and state(preferably in tree structure) and allow the user to change the country a state belongs to by dragging the state from one country and dropping it into the desired destination country.
    Thanks and regards,
    Srini.

    Hi Srinivasa,
    Drag & Drop is not available within Web Dynpro as of now.
    Kind regards,
    Thomas

  • Drag and Drop Function Stopped Working

    So I may just be dense, but my drag and drop function isn't working anymore. I've been searching the internet for anything that might help, and I've tried all the solutions that I've seen. No luck though. This is a really annoying problem and if anyone has suggestions I'd love to have some help. Thanks!!

    So those ideas on the other thread didn't help. I think if I reinstalled leopard it may fix it, but the problem there is I don't have the disk at school with me. Having no foresight ruins things.
    Would that be the only option or does anyone have other thoughts?

  • Drag and drop functionality not working. IE shows ActiveX error

    Hi all,
    we recently installed new server, but on the new server the drag and drop functionality in web dynpro application is not working.
    when we launch the standard test application wdr_test_drag_and_drop, the Internet explorer is showing a popup: An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction? Yes/No
    if we allow by clicking Yes or No, the drag/drop functionality is not working.
    first I checked if the issue is with my IE version, but it is not working in any of the IE in any computer.
    when I checked the same application from different ecc server on my IE, the different server application is working.
    in my new server, do we need to do anything more to make the drag/drop working.
    thanks,
    Madhu_1980.

    Hi Madhu,
    GO through this link,  it might help
    Step 1: Go to the Tools menu, and select Internet Options
    There are times when the activex plugins are disabled in our browser settings, just enable them and give it a try.
    Regards,
    AkkI

Maybe you are looking for