Drag and Drop from Table with Treebynestingtablecolumn

Hi,
I am using table UI element in Webdynpro ABAP.
And I am showing data in tree format using element TreeByNestingTableColumnn.
Now I tried to implement the Drag functionality for a nested table line and I face two problems:
1. The requirement is to drag an item out of the table without selecting the reow before! I tried it (by implementing a dragable image etc.) but it seems that it is necessary to select the row first before being able to drag. The problem is that I don't use the property row selectable, so I can't select and therefore I cant drag, right?
Is it possible to drag an item out of the table but not selecting it before?
2. In the meanwhile I decided to use the property "row selectable". Now I am able to drag.
BUT, if I drag a nested item (a child item) and drop it, then - instead of the expected data-reference of the selected item -  the data reference of the fathers node will be provided within wdevent.   Does anyone know why? and is my requiremnt solvable?
Thanks and regards
Oliver

Hi Saravanan,
thanks a lot for your answer. I was happy to hear that someone else also has the same curious problems than me
In the meanwhile I was able to solve my requirement and I describe the solution here:
- Important is how the table is defined:
   --> Set rowSelectable to 'true'
   --> Set selectionMode to 'none'
- Insert a column. Insert as CellEditor an "Image". Mark the image as "isDragHandle". Now insert a DragSourceInfo.
  Take care on correct data binding.
For any reason it works now With Treebynestingtablecolumn and without selecting a row, but by dragging the image.
Best regards
Oliver

Similar Messages

  • What's up when you drag and drop a table into a jsp page?

    Hi All,
    I was wondering what's happen in dragging and drop a table into a jsp page. This question because untill yesterday i had an application up and running, with a table displaying a number of rows of the database, and an action associated with an update into a database.
    The action is managed trough JNDI, defined from Preference-Embedded.......
    It was working.
    Then the machine hosting the db changed IP addres. I went into Webcenter Administration console, I've changed the connection string into the jdbc parameters, by updating the new IP address... but it's not working anymore! The log comes out with a big error, but basically it can't connect at the db!
    So, I think there is somewhere some reference to the old db.....where???
    Thanks
    Claudio

    Yes Shay,
    I got this error:
    JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    in few hours I'll be able to give you the full stack.
    Thanks
    Clauido
    Message was edited by:
    user637862
    Hi Shay,
    Thanks a lot..you were right.
    I've located the ba4j on the webcenter server...and I've noticed that it was with the old address.
    I think it's a bug, cause on the local machine (before to deploy) this file comes with the right address.
    So next time, before to redeploy a new application, I think I'm going to fiscally delete the folder from j2ee folder.
    Thanks again for the help!
    Claudio

  • I am trying to drag and drop one page of a .pdf into another .pdf in Acrobat Reader.  I used to be able to drag and drop from one .pdf to another.

    I am trying to drag and drop one page of a .pdf into another .pdf in Acrobat Reader.  I used to be able to drag and drop from one .pdf to another.

    If you could drag and drop pages before, it wasn't in Reader. You no doubt had Adobe Acrobat (Pro or Standard) which shouldn't be confused with Adobe Acrobat Reader. They recently added Acrobat to the name of Adobe Reader so the confusion about which product you had and/or have is understandable.

  • Downloads dragged and dropped from Firefox download window into Outlook e-mail show as file location text.

    I have a user who normally can drag files from Firefox's Download window into an e-mail in Outlook and it creates an attachment of that file in the e-mail. However, lately, the dragged .pdf or whatever file only shows up as a text file location like:
    \\file:%Downloads%\randomfile.pdf
    It's not a link either, it's just the text.
    I've tried doing a repair of Outlook.
    I've uninstalled and reinstalled Firefox 19.
    I've tested dragging items from the desktop to the e-mail and it works fine.
    I can't drag and drop from the Downloads window to the desktop.
    I just wanted to add this user is using Windows XP Pro.

    I can confirm that this is an issue with the newest release of Firefox. I just upgraded my Firefox, which was previously 18.02 to 19.0 and now I'm getting the same error. It's a bug.

  • I can't drag and drop from a data CD I recorded

    I recently burned some audiobooks files (in mp3 format) as data cd's in Toast 8.0.1. When I go to reload them back onto my 20" 2 Ghz Dual Core Intel I can't drag and drop the files directly into any folder while using the columns view in a finder window. I can do it if I drag onto the music folder and let it spring open down to the level of the folder. I also can drag the mp3's into iTunes and then into the folder. This is not CD related since I used several diff brands.
    I constantly update, backup, repair permissions, and do other maintenance so everything is up to date. I have noticed this behavior just since I started to use the program called Audiobook Builder. I am (and have always used) a non-admin user account. When this started a few months ago it seemed to go away with a restart, permission repair, or a logout but now it seems permanant. I checked user permissions on my home folder - I have not added any software since adding Audiobook Builder. Any idea's? I read something about trashing a com.apple pref but didn't try that.
    I suspect Audiobook Builder since it changes the permissions and filetype to the iTunes Audiobook filetype but have not seen anyone reference this.
    wes

    dj_paige wrote:
    While the programming of course could be done, the idea of a function that performs on original unprocessed images seems to violate the whole idea of what Lightroom was designed to be. At least that's my opinion. Of course, the idea that Adobe should do this programming for a relatively small number of people (you're one of a very few people to ask for this, that I have read) seems to be something that isn't going to happen.
    I agree, I can't see much reason for drag-and-drop to drag the unprocessed image - in other words, an image that isn't the one that you see when you drag and drop.  I can see that just filling this forum with "why the heck does it do that????????" posts.  I could be wrong, but I suspect that Adobe won't do that. 
    But if you do want to drag-and-drop the original unprocessed image, you can do it very easily now.  Right click the image, choose "show in Explorer", and then drag-and-drop from Explorer. 

  • I can't drag and drop from windows explorer into my ipod on itunes. Any suggestions?

    Hi,
    I manage my music/podcast library on my Vista PC using windows explorer because I don't like how iTunes does it. Then today I can no longer drag and drop from explorer onto my iPod in iTunes all I get is a circle with a line through it meaning "iTunes says no." Any suggestions?
    Ta.

    You will need to Sync your iPad and all Music/Albums Selected will transfer over from iTunes..
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/HT1386

  • Drag and Drop from LR to other applications

    There was a thread going on D&D from LR to explorer.
    The other appliation problem I have is the apparent inability to drag and drop from lightroom into a file transfer window (e.g., file upload with SmugMug).
    The quick collection is an awesome way to organize a storyline of images from a shoot, select only the images needed, and prepare a shoot for upload. However, short of exporting to a folder first, is there a way to just drag and drop the file set from a LR view (filmstrip or thumbs) to another app? This would just be providing file handles, and I would be satisfied if it only grabbed the original images (pre-"develop").
    Anyone have any luck with this?
    -- Jeff

    No. And not likely anytime soon. Putting a Pointer/alias to SmugMug (if it is an uploader client app, not familiar with it) in the Export Actions Folder for Post Processing from Export is the best you can do at the monemt. To get LR rdits out of LR you have to Export. D&D just isn't going to do that for you.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Can't drag and drop from Address Book to Mail?

    Hi,
    I have always used Address Book to store my email contact information in SL. When I wanted to send an email, I would drag and drop from Address Book to the "To:" field in Mail and it would add the contact information to Mail. I upgraded to Lion, and now when I try this, the address icon moves like it should, the little green circle with the + in it appears when I hover over the field, but when I release it does not add the address to Mail. The drag and drop does not work at all, but it looks like it should. I have searched all around but have not found any information about this. Does anyone know what's up with this? How can I fix it? Thanks in advance.

    Are you dragging from the actual AddressBook application, or the Address icon you can add to the NewMail and Reply toolbars in Mail?  (It ought to be there by default, but isn't).
    Either should work, but if AB doesn't, try the icon method:

  • Drag and drop from Multicolumn listbox to another Multicolumn Listbox

    how do i drag and drop from Multicolumn listbox to another Multicolumn Listbox?/...any example..
    use LABVIEW 8.2.1
    regard's
    eyal.

    To drag and drop within the target listbox you'll have to add a Drag Starting? event for the target listbox and register that drag data with a different adn unique Drag Data Name, then in the Drag Enter? event check for that data name as well before accepting the event, and then in the Drop? event for the target listbox handle the new data name as well. You can use the Point to Row Column invoke method to determine which row, column, or cell is being manipulated. I've created a VERY crude example of this, but you'll have to get more creative with how you handle the moving of rows, columns, etc. for the target listbox, but I think it gives the general idea. Hope this helps!
    -rw
    Attachments:
    Drag and Drop Example v2 8.2.vi ‏28 KB

  • Drag and Drop from Photos app to Safari does not work (Regression to iPhoto)

    Drag And Drop from the new Photos app to Safari does not work. This worked perfectly with iPhoto before.
    I use this a lot to upload photos to a Wordpress blog. Is there a way to make this work again? Its a major regression to the old iPhoto behaviour -- at least for my workflow.
    Regards

    Use the Media Browser. This was written for iPhoto but it still works for 95% of Photos. It's the first option you want:
    https://discussions.apple.com/docs/DOC-4491

  • Cant drag and drop from file-roller to nautilus when using List View

    Hi, im using file-roller and i can only use drag and drop feature from file-roller when i use Icon View. If i select List View i cant drag and drop.
    Is that an expected behavior or its a bug? Is there a patch or work around? (File Roller 2.20.1 and Gnome 2.20.2)
    I think its a problem with file-roller cause in my other box, running ubuntu 7.10 i have the same problem, but i can drag and drop from ark even when using List View.
    Thx!

    Well, sorry for the double post, but after a little research i found this is a bug, actually a not yet implemented feature. There is a patch and probably its going to be merged in next version.
    Ill try to apply the patch myself, if it works could the maintainer Jan de Groot put it on the repository?
    Here is the bug: http://bugzilla.gnome.org/show_bug.cgi?id=171655
    Here is the patch: http://bugzilla.gnome.org/attachment.cg … ction=view
    Cya

  • Why I can't drag and drop from lightroom?

    Something I would expect from asset managment soft.  Am I missing something?

    dj_paige wrote:
    While the programming of course could be done, the idea of a function that performs on original unprocessed images seems to violate the whole idea of what Lightroom was designed to be. At least that's my opinion. Of course, the idea that Adobe should do this programming for a relatively small number of people (you're one of a very few people to ask for this, that I have read) seems to be something that isn't going to happen.
    I agree, I can't see much reason for drag-and-drop to drag the unprocessed image - in other words, an image that isn't the one that you see when you drag and drop.  I can see that just filling this forum with "why the heck does it do that????????" posts.  I could be wrong, but I suspect that Adobe won't do that. 
    But if you do want to drag-and-drop the original unprocessed image, you can do it very easily now.  Right click the image, choose "show in Explorer", and then drag-and-drop from Explorer. 

  • Drag and drop from pages tab

    I am trying to drag a page from acrobat reader into a C# application.  The only information i need from acrobat is the filename and the page number or numbers.  Is this information accessible? Do i need to cast the dataObject i am being sent to a different type? Has anyone had success with drag and drop from inside accrobat to another application?
    Any help at all would be very appreciated.

    Reader does NOT support dragging from the pages panel.
    Adobe Acrobat, however, does.  But the only supported destinations for dragging from the pages tab are another Acrobat window or the Finder/Explorer.  Any other destination is untested and unsupported.

  • Why doesn't the original document I'm dragging and dropping from one folder to another move?

    Why doesn't the original document I'm dragging and dropping from one folder to another move?
    What's happening is the computer is creating a duplicte of the document and placing it in the new location with a new creation date.  The original document I wanted to drag and drop into a new location remains where it started as the "original" document and the new copy has this little arrow protruding up from the lower left of its icon.
    At first I thought it was an alias, but it's a copy of the document I thought I was dragging and dropping.
    What gives here?
    Steve

    That arrow indicates it is a linik to the original, though. This happens if you wish to drag files, for which you do not have permissions to do this operation, e.g. from Library or System folder. I am pretty sure you do not accomplish this operation from/to folders like Desktop or Documents; if so, there is a problem with your system.

  • Drag and drop from Lightroom into Premiere doesn't work in Windows

    I recently switched from OSX to Windows and noticed that in Windows, I'm unable to drag and drop from LIghtroom into Premiere. In OSX, it worked fine.
    I do this a lot because it's a time saver. I basically use lightroom to find the photo or video clip I need for my editing project and then just drag in right on to the Premiere timeline. Now I have to do the extra step in Lightroom of "show in explorer", then drag the file from explorer to Premiere. Not really a big deal but just curious why it works in OSX and not Windows.
    I'm running latest Windows 8.1, Lightroom 5.4, Camera Raw 8.4, and Premiere Pro CC 7.2.2 (33)
    -Pete

    Hi Pete,
    You can obtain scripts here:
    http://www.robcole.com/Rob/ProductsAndServices/MiscLrPlugins#MiscScripts
    You'll have to edit lua code to adapt for Premiere. Not that hard really (e.g. clone, then change the script name and path to executable..), but may be too intimidating for some folks. If you are one of those folks, go for the plugin instead - it's usable via GUI - no lua code - can probably accomplish the same thing.
    http://www.robcole.com/Rob/ProductsAndServices/OpenInWhateverLrPlugin
    Let me know (outside the forum please) if problems - thanks,
    Rob

Maybe you are looking for

  • Adobe Bridge saving my edited files in an 'unknown format' - Losing my work

    When I edit an image in Photoshop through Adobe Bridge and save it as a jpeg, it is not saving as selected. Instead, it is saving the edited image in an 'unknown' and unusable format. I loose  my editing work. I discovered this doesn't happen if I sa

  • Creating a password to protect a hyperlink from being executed in a PDF, that was created in InDesign

    Hello, Does anyone know a way to create a password to protect someone from clicking a hyperlink made in InDesign, that will be viewed as a PDF. I have to make file with hyperlinks, but we may not want just anyone to be able to click on the destinatio

  • Handling SOAP faults in Flex 2

    i want to capture a soap fault from my .NET web service in my flex 2 client app. i found this code sample but it seems to be for flex 3 (it fails to compile when i try to use it - but maybe i am just not using it correctly?) if (event.fault is SOAPFa

  • Setting file name of captured file in DVRcast  application

    I've looked through the scripts in the scripts/ directory, but haven't seen anything obvious. I would like to be able to specify the file name to capture the stream to. At present, the capture file is always named the same as the stream, which means

  • Media back up client in using MIDP 2.0 MMAPI

    Hi everybody, I want to use J2ME MIDP 2.0 MMAPI for series 60 v2.0 in order to develop application that can upload and download medias files to and from a Server, therefore my questions are: -Can You access the default media files folders (Image, sou