Alternative to Drag and Drop for "identity" copying cells?

hi all.
right now when i want an "identity copy" of a single cell i do an equation where i enter the equals size and i click in the cell i need. this maintains a link with the original cell.
right now i need multiple cells (like five in a row) to get "identity copied" to a set of five new destination cells.
is there a way to do this so that i don't have to /drag/ the origination selection all the way down my spreadsheet or is this the only way to do it?
i have about 800 rows to travel and i have to do this about thirty times and it is going to get really tiresome.
i tried copy paste but it just entered five cells with "0.00" for some reason likely having to do with it being a copy of the format of the cell but not the actual content...
TIA for any advice or terms or search words etc

HW,
It is time for you to download the manual and read the material in chapter six.
http://support.apple.com/manuals/#productivitysoftware
This manual is still usaeble for understanding how to select cell, reference cells and copy and paste.  If is free and downloadable AND you can search it-- if you know the terms to search.  It is a valuable tool. 
when they are contiguous in both the source and destination, you can select the one, then copy, then select the grounp and paste.
In this example there are two tables:
1) a source table
2) s destination table
in the destination table highlight cell A1 then type the "=" (equal sign) :
now click the cell in the source table (A1):
Now hit the return key.  Select cell A1, copy.  Now select the whole table (or the group of cells you want to reference in the Source table).  In this example select all.  To select all use the menu item "Edit > Select All":
Now paste:
If you only wanted to reference A1, A3, B4, B6, and B8 you would enter the formula in any cell you want-- I choose A1.  Then you select A1, copy, then hold the command key then click those cells, then paste:

Similar Messages

  • Drag and Drop - Incomplete Wireless Copying of Files

    Ever since I upgraded to 10.6.4, I have a problem doing the "drag and drop" method of copying files wirelessly from my Mac to the HP MediaSmart server connected to my Apple AirPort N Base station.
    I used to be able to simply copy files without problems from my FireWire CF card reader to the server fast and with no problems. After the upgrade, the wireless copying has become slow and the transfer is incomplete. For example today I tried to drag and drop 97 photo files and it only copied 30 of those files in random order. So I repeat the process over and over again (without replacing the already copied files) until all 97 files are copied. If I re-copy everything from scratch by over-writing existing copied files, it will only successfully copy a few files again.
    If I copy direct from the card reader to the hard drive in my computer, the copying is lightning fast and with no problem.
    If I copy from the computer hard drive to the server connected to the AirPort, the same inconsistent copying occurs.
    So it's somewhere in the wireless link that has a problem.
    The solution is to use the "Image Capture" app so that it will successfully copy all files from the card reader to the server. But as I mentioned the process is slow.
    I have installed the latest Apple updates at the time they come out. I am at 10.6.5 and have the latest AirPort update that was recently released. I still have the same problem.
    Anyone know about this problem? How do I report issues like this directly to Apple?
    Thanks for any assistance and feedback.

    I am having the same problem. I just bought a USB Hard-drive and was copying a 2.7 M folder from one HD to the USB and it leaves out like 15 files. I tried copying to the desktop and it does the same thing. I can open the folder, cmd-A, cmd-c, then paste and it took all the files. Very strange.

  • Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

    In the attached file, I have a series of symbols that have a drag and drop command to change colour at different sections of a bullseye, and that are also text editable (html).
    However, some of the symbols get stuck and will not be moved after moving once or at all, and some get stuck once their text has been edited.
    I have poured over the code and it appears to be the same for each symbol - can anyone explain as to why this is happening?
    I also cannot now edit the text properly on the ipad (it is really fiddly to change between different symbols to edit their text -- is there maybe a better way to do this? A button to change between symbols to then edit their text, can you help with this too?)
    THANK YOU SO MUCH!!!
    File here:
    https://www.dropbox.com/s/g71gnfichjgyehn/NEW%20RISK%20RADAR.zip

    Hi, I think I undertsand what you mean now, so the code is as below, btu I am not sure what a handler is? but some of my risks still get stuck once the text has been changed on them:
    // Use for loop for attr
    // deleted  yepnope since you load with scropt loading
    // added pos for each symbol so we can replace them there.
    document.ontouchmove = function(e) {
            e.preventDefault();
    var risk = ;
    var Pos = [
    {'x':-9,'y':806},
    {'x':27,'y':854},
    {'x':72,'y':894},
    {'x':71,'y':934},
    {'x':231,'y':811},
    {'x':231,'y':853},
    {'x':231,'y':894},
    {'x':231,'y':934},
    {'x':388,'y':811},
    {'x':388,'y':852},
    {'x':388,'y':893},
    {'x':388,'y':934},
    {'x':543,'y':811},
    {'x':543,'y':853},
    {'x':543,'y':893},
    {'x':543,'y':934}
    var myText = ; 
    for (i=0;i<risk.length;i++){
    sym.getSymbol(risk[i]).$(risk[i]).attr("contenteditable",true);
    sym.$('Quadrant_text').attr("contenteditable",true);
    sym.$('Quadrant1_text').attr("contenteditable",true);
    sym.$('Quadrant2_text').attr("contenteditable",true);
    sym.$('Quadrant3_text').attr("contenteditable",true);
    // apply the draggable JQuery UI plugin to the MyDraggableSymbol symbol on your stage
    sym.$('Risk1').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk1").stop("Initial");
      sym.setVariable("symName","Risk1");
    //adding for risk3_orange similarly add for other symbols
    sym.$('Risk1').draggable();
    sym.getSymbol('Risk1').$("Risk1").bind('click tap',function(ev) {
         sym.$('Risk1').draggable('disable');
    }).unbind('dblclick tap',function(ev) {
         sym.$('Risk1').draggable('enable');
    sym.$('Risk2').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk2").stop("Initial");
      sym.setVariable("symName","Risk2");
    //adding for Risk2 similarly add for other symbols
    sym.$('Risk2').draggable();
    sym.getSymbol('Risk2').$("Risk2").bind('click tap',function(ev) {
         sym.$('Risk2').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk2').draggable('enable');
    sym.$('Risk3').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk3").stop("Initial");
      sym.setVariable("symName","Risk3");
    //adding for Risk3 similarly add for other symbols
    sym.$('Risk3').draggable();
    sym.getSymbol('Risk3').$("Risk3").bind('click tap',function(ev) {
         sym.$('Risk3').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk3').draggable('enable');
    sym.$('Risk4').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk4").stop("Initial");
      sym.setVariable("symName","Risk4");
    //adding for Risk4 similarly add for other symbols
    sym.$('Risk4').draggable();
    sym.getSymbol('Risk4').$("Risk4").bind('click tap',function(ev) {
         sym.$('Risk4').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk4').draggable('enable');
    sym.$('Risk5').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk5").stop("Initial");
      sym.setVariable("symName","Risk5");
    //adding for Risk5 similarly add for other symbols
    sym.$('Risk5').draggable();
    sym.getSymbol('Risk5').$("Risk5").bind('click tap',function(ev) {
         sym.$('Risk5').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk5').draggable('enable');
    sym.$('Risk6').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk6").stop("Initial");
      sym.setVariable("symName","Risk6");
    //adding for Risk6 similarly add for other symbols
    sym.$('Risk6').draggable();
    sym.getSymbol('Risk6').$("Risk6").bind('click tap',function(ev) {
         sym.$('Risk6').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk6').draggable('enable');
    sym.$('Risk7').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk7").stop("Initial");
      sym.setVariable("symName","Risk7");
    //adding for Risk7 similarly add for other symbols
    sym.$('Risk7').draggable();
    sym.getSymbol('Risk7').$("Risk7").bind('click tap',function(ev) {
         sym.$('Risk7').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk7').draggable('enable');
    sym.$('Risk8').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk8").stop("Initial");
      sym.setVariable("symName","Risk8");
    //adding for Risk8 similarly add for other symbols
    sym.$('Risk8').draggable();
    sym.getSymbol('Risk8').$("Risk8").bind('click tap',function(ev) {
         sym.$('Risk8').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk8').draggable('enable');
    sym.$('Risk9').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk9").stop("Initial");
      sym.setVariable("symName","Risk9");
    //adding for Risk9 similarly add for other symbols
    sym.$('Risk9').draggable();
    sym.getSymbol('Risk9').$("Risk9").bind('click tap',function(ev) {
         sym.$('Risk9').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk9').draggable('enable');
    sym.$('Risk10').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk10").stop("Initial");
      sym.setVariable("symName","Risk10");
    //adding for Risk10 similarly add for other symbols
    sym.$('Risk10').draggable();
    sym.getSymbol('Risk10').$("Risk10").bind('click tap',function(ev) {
         sym.$('Risk10').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk10').draggable('enable');
    sym.$('Risk11').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk11").stop("Initial");
      sym.setVariable("symName","Risk11");
    //adding for Risk11 similarly add for other symbols
    sym.$('Risk11').draggable();
    sym.getSymbol('Risk11').$("Risk11").bind('click tap',function(ev) {
         sym.$('Risk11').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk11').draggable('enable');
    sym.$('Risk12').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk12").stop("Initial");
      sym.setVariable("symName","Risk12");
    //adding for Risk12 similarly add for other symbols
    sym.$('Risk12').draggable();
    sym.getSymbol('Risk12').$("Risk12").bind('click tap',function(ev) {
         sym.$('Risk12').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk12').draggable('enable');
    sym.$('Risk13').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk13").stop("Initial");
      sym.setVariable("symName","Risk13");
    //adding for Risk13 similarly add for other symbols
    sym.$('Risk13').draggable();
    sym.getSymbol('Risk13').$("Risk13").bind('click tap',function(ev) {
         sym.$('Risk13').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk13').draggable('enable');
    sym.$('Risk14').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk14").stop("Initial");
      sym.setVariable("symName","Risk14");
    //adding for Risk14 similarly add for other symbols
    sym.$('Risk14').draggable();
    sym.getSymbol('Risk14').$("Risk14").bind('click tap',function(ev) {
         sym.$('Risk14').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk14').draggable('enable');
    sym.$('Risk15').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk15").stop("Initial");
      sym.setVariable("symName","Risk15");
    //adding for Risk15 similarly add for other symbols
    sym.$('Risk15').draggable();
    sym.getSymbol('Risk15').$("Risk15").bind('click tap',function(ev) {
         sym.$('Risk15').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk15').draggable('enable');
    sym.$('Risk16').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk16").stop("Initial");
      sym.setVariable("symName","Risk16");
    //adding for Risk16 similarly add for other symbols
    sym.$('Risk16').draggable();
    sym.getSymbol('Risk16').$("Risk16").bind('click tap',function(ev) {
         sym.$('Risk16').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk16').draggable('enable');
    sym.getSymbol("Drop").$('Outer').droppable(
    sym.getSymbol("Drop").$('Middle').droppable(
    sym.getSymbol("Drop").$('Target').droppable(
    sym.$('resetBtn').click(function(){
      sym.$('Quadrant_text').html('Quadrant');
      sym.$('Quadrant1_text').html('Quadrant');
      sym.$('Quadrant2_text').html('Quadrant');
      sym.$('Quadrant3_text').html('Quadrant');
    for (i=0;i<risk.length;i++){
      sym.$(risk[i]).css({"left":Pos[i].x,"top":Pos[i].y,"position":"absolute"})
      sym.getSymbol(risk[i]).stop(0);
      sym.getSymbol(risk[i]).$(risk[i]).html("Challenge");
    But is still doesn't work,
    Subject: Re:  Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

  • Drag and drop for PC and Tablet issues

    Hi!
    I’m doing a drag and drop for both PC and tablet.
    I need to allow any elements (draggables) to be able to drop into any of the droppable areas and not just restrict to 1 area. I tried using the if/else statement, but I can’t seem to make it work. For example, Position 1 (droppable area) must be accept all the cases – case1, case2, case3 (draggables), but only 1 draggable on a droppable at any one time.
    I hope you can help me out, or atleast helping me with the if/else statement.This is a link to my folder.https://www.box.com/s/0pksqtpmqg7zae43en66
    —————————————these are my codes, in case you can’t open the file.———————————————————–
    yepnope(
    nope:[
    'js/jquery-ui-1.9.2.custom.min.js',
    'js/jquery.ui.touch-punch.min.js',
    'css/jquery-ui-1.9.2.custom.min.css'
    complete: init
    function init() {
    var stage = sym.$(“Stage”);
    //DRAGGABLE. case1
    //var _1 = sym.$(“_1″); changed _1 to _2
    var _2 = sym.$(“_2″);
    _2.css(“position”, “absolute”);
    _2.draggable({ disabled: false });
    _2.draggable({ containment: stage });
    //for(var i=1; i<=9;i++){
    _2.draggable({
    snap: '.target1',
    snapMode: 'centre'
    //DROPPABLE
    var position1 = sym.$("position1");
    position1.css("position", "absolute");
    //     position1.css("left", 375);
    //     position1.css("top", 25);
    //position1.on( "dropout", function( event, ui ) {
    //drop into position1
    position1.droppable({
    accept: ".case1",
    drop: function(event, ui) {
    console.log(this.childNodes);
    var element2 = sym.$(".Stage_position1__1Black_Eagle_id"); //Stage_position1__1Black_Eagle_id
    element2.show();
    _2.hide();
    /*else if(_1){
    var element = sym.$(".Stage_position1__2Green_Parrot_id");
    element.show();
    _1.hide();
    // adds visual when correct drops here
    //case2. _5
    //DRAGGABLE
    var _5 = sym.$("_5");
    _5.css("position", "absolute");
    _5.draggable({ disabled: false });
    _5.draggable({ containment: stage });
    //for(var i=1; i<=9;i++){
    _5.draggable({
    snap: '.target2',
    snapMode: 'corner'
    //DROPPABLE
    var position2 = sym.$("position2");
    position2.css("position", "absolute");
    position2.droppable({
    accept: ".case2",
    drop: function(event, ui) {
    console.log(this.childNodes);
    var element5 = sym.$(".Stage_position2__5Black_Snake_id");
    element5.show();
    _5.hide();
    //case3. _7
    //DRAGGABLE
    var _7 = sym.$("_7");
    _7.css("position", "absolute");
    _7.draggable({ disabled: false });
    _7.draggable({ containment: stage });
    _7.draggable({
    snap: '.target3',
    snapMode: 'corner'
    //DROPPABLE
    var position3 = sym.$("position3");
    position3.css("position", "absolute");
    position3.droppable({
    accept: ".case3",
    drop: function(event, ui) {
    console.log(this.childNodes);
    var element7 = sym.$(".Stage_position3__7Green_Praying_Mantis_id");
    element7.show();
    _7.hide();
    });// end of codes
    Can anyone help me to figure out the if/else or switch statement to be used? I tried both but it doesn' work. This is my switch statement.
    var stage = sym.$(new bigElements) ;
    switch (bigElements) {
    //list down all the possible cases/scenarios.
      case "Stage__2":
              alert("Just like the sky!");
        break;
      case "Stage__5":
                  alert("Just like shiraz!");
        break;
      case "Stage__7":
        alert("Suit yourself then...");
        break;
      default:
        alert("lalala...");
    var stage = sym.$(new bigElements)
    switch (bigElements) {
      case "Stage__2":
        alert("Just like the sky!");
        break;
      case "Stage__5": //"case2"
       alert("Just like shiraz!");
        break;
      case "Stage__7":
       alert("Suit yourself then...");
        break;
      default:
         alert("lalala...");
    I've only included excerpt of the codes to let you have an idea of it. Thank you so much for your time.

    It seems like you're asking about JS for web-pages. This forum is about JS
    in PDF documents.

  • Is there any way to disable right click and drag and drop for photos on iweb?

    Re: protecting photos when using iweb as your web designer...
    Is there any way to disable right click and drag and drop for photos using iweb?  I have seen tutorials about creating a text box around each image - but is there a better way? 

    However, there is no way you can prevent someone from making a screenshot of the image as it is displayed on the screen no matter what application you use to create the web page.
    You can add a watermark to dissuade the casual "thief" but those who are serious about stealing the photo for their own use can remove the watermark with some effort.
    OT

  • Drag and Drop for Creative Cloud CS applications

    I just joined Creative Cloud for CS software applicatons; I am already a Muse user - will I need to cancel that use and download Muse again to avoid double payment? Also, I am not able to drag and drop the CS applications at this time - is it not yet available? If not, when will it? Even the Muse app would not drag and drop for download?
    Thank you.

    Are you trying to install the applications my dragging the application icon from the Creative Cloud Apps page at https://creative.adobe.com/apps to your computer? If so that will not work since that is just an image in the web page.
    To install click on the Download (or Try for trial members) link and the Adobe Application Manager (AAM) should download and install. AAM will then handle the installation of the applications.

  • Certain Numbers templets allow you to drag and drop contacts to populate cell data, how can I create that functionality in my own tables?

    Certain Numbers templets allow you to drag and drop contacts to populate cell data, how can I create that functionality in my own tables?

    If you haven't come across the workarounds thread you may find helpful tips there on this and other ways to work with Numbers 3.
    ronniefromcalifornia discovered how to bring contacts into Numbers 3. As described in this post:
    "Open Contacts
    Select all the cards you want
    Copy
    In Numbers, in a table, select cell A1
    Paste
    Boom. Works great. Even brought in the pictures. Cool."
    So instead of drag and drop, just select in Contacts, copy, and paste into Numbers
    SG

  • Prevent drag and drop for QT web movies

    I've tried protecting QT movies on my web site using kioskmode, like this:
    http://www.apple.com/quicktime/tutorials/embed2.html#kioskmode
    but despite what Apple says, drag and drop remains enabled. Anyone know how to fix that?
    conran

    If your goal is to "protect" your videos the kioskmode="true" tag will be the weakest link.
    http://streamingmediaworld.com/gen/voices/praja/praja1.mov
    You can open and save the file using the Safari (or any other browser) by using the Safari Activity window.
    You can also download by dragging the link to the Download window.
    I use the Save As Un-Editalbe droplet on some of my files. Needs some work to run on a Tiger OS and you can email me for a copy that is Tiger "ready". Screen name (left) @ mac.com.
    But I still don't understand how drag and drop works if the file is "protected" via kioskmode="false" tags.

  • After upgrade to Yosemite, drag and drop for files does not work, destination folder crashes.

    After upgrading to Yosemite, dragging and dropping files from one location to the destination folder, causes the destination folder crash. However, copying the file and then moving it works fine.
    I'm not sure where to report bugs, but I figured this would be the best option

    http://www.apple.com/feedback/  Feedback
    https://bugreport.apple.com/  BugReporter

  • Itunes 11.1.4 won't drag and drop for ios 5.0.1

    I have an older iPod touch running 5.0.1 and have ALWAYS manually managed the music on it.  I recently updated itunes to 11.1.4.62 and now the 'drag and drop' function in itunes doesn't work.  I have verified that the 'manually mangage music and videos' is checked.  I really don't want to upgrade the ios as I don't need the newer features.  I simply use this for music.  Is this a bug with the latest itunes?

    used a different computer running 11.0.5.5 and that worked.  I guess this is a new 'feature' with 11.1.x?

  • I cannot drag and drop for Photos in 10.10.3

    I seem to be unable to drag and drop from the new Photos application in Yosemite 10.10.3.  I have tried this with two different applications including Adobe's Photoshop Elements 13.  It seems to work fine with other apple applications.  (can drag and drop to desktop and to pages - only two I've tried) 
    However, it is very frustrating not to be able to drag and drop from Photos to another photo editing software.  Additionally, when I try to open a file from photos while in Photoshop using the menu - Photoshop crashes.  It appears I have no way to edit my photos in Photoshop if I store them in Photos...anybody else?

    Photos is a brand new, completely rewritten application. Adobe (and others) have not yet added compatibility with it.
    Exporting your your images to the desktop, then bringing them back into Photos, is the only way for external editing right now.

  • Drag and Drop for Tree in a Table

    I have placed a tree in a table using the example provided in an article "Creating TreeTables in Swing" in java.sun.com. But , instead of using the FileSystem data with which the example was explained , i have passed my own data...Then i created a panel wherein i placed two of these tables with buttons in between.
    The buttons are meant for data transfer....The problem is if i implement Drag and Drop support for the TreeTable the Tree embedded in the Table doesn't expand and collapsing properly....
    Can there be any reason that if a tree is placed in a Jtable and the drag and drop is enabled using setDragEnabled(true) will it effect the normal behaviour

    You can implement DropTargetListener, DragSourceListener, DragGestureListener like the following:
    public class MyTree extends JTree
                implements DropTargetListener, DragSourceListener, DragGestureListener {
        public void dragEnter (DropTargetDragEvent event) {
            event.acceptDrag (DnDConstants.ACTION_MOVE);
        public void dragExit (DropTargetEvent event) {
            //System.out.println( "dragExit");
        public void dragOver (DropTargetDragEvent event) {
        public void drop (DropTargetDropEvent event) {
            // place your code for action after drop
        public void dropActionChanged ( DropTargetDragEvent event ) {
        public void dragGestureRecognized( DragGestureEvent event) {
        public void dragDropEnd (DragSourceDropEvent event) {  
        public void dragEnter (DragSourceDragEvent event) {
            //System.out.println( " dragEnter");
        public void dragExit (DragSourceEvent event) {
            //System.out.println( "dragExit");
        public void dragOver (DragSourceDragEvent event) {
            //System.out.println( "dragExit");
        public void dropActionChanged ( DragSourceDragEvent event) {
            //System.out.println( "dropActionChanged");
    }Hope this can help.

  • Drag and Drop for File Uploads

    Hey,
    Is it possible to do this in Flex? Drag and Drop files into a flex app - to upload them later (say on a button click). I did some searching and found that it is possible to do this in AIR - drag files from the file system and drop it in the app. But our app is web based and will be running in a browser.
    Thanks

    I have suffered from this during the past three days.
    Firefox 23.0, Mozilla Firefox for Ubuntu canonical - 1.0
    on a 32-bit Ubuntu PC. So the system couldn't be more different.
    I was trying to upload .MP3 files of 27MB. From about a dozen attempts with one file, no success whatever. On the other hand a different file worked first time. But a later attempt with a 14 MB .wav failed, so it's not related to the file.
    On the other hand an upload with Chrome worked perfectly. So it does look like a browser problem.
    Watching the system monitor during upload, it runs freely for about 9MB, then stops abruptly. At the same time, the message at the bottom left of the browser window, relating to dl-web.dropbox, disappears.
    The text of the message differed between Firefox & Chrome, but I imagine that's just a textual, rather than a functional, difference.

  • Drag and Drop for the tableview

    Can drag and drop used for a row in the tableview, how to do it?

    try this ;) ( i work on FXML project)
    @FXML
    TableView<String> tableView;
    private  ObservableList<String> tableContent = FXCollections.observableArrayList();
    tableView.setOnMouseClicked(new EventHandler<MouseEvent>() { //click
                    @Override
                    public void handle(MouseEvent event) {
                            if(event.getClickCount()==2){ // double click
                                String selected = tableView.getSelectionModel().getSelectedItem();
                                if(selected !=null){
                                    System.out.println("select : "+selected);
    tableView.setOnDragDetected(new EventHandler<MouseEvent>() { //drag
                @Override
                public void handle(MouseEvent event) {
                    // drag was detected, start drag-and-drop gesture
                    String selected = tableView.getSelectionModel().getSelectedItem();
                    if(selected !=null){
                        Dragboard db = tableView.startDragAndDrop(TransferMode.ANY);
                        ClipboardContent content = new ClipboardContent();
                        content.putString(selected);
                        db.setContent(content);
                        event.consume();
    tableView.setOnDragOver(new EventHandler<DragEvent>() {
                    @Override
                    public void handle(DragEvent event) {
                        // data is dragged over the target
                        Dragboard db = event.getDragboard();
                        if (event.getDragboard().hasString()){
                            event.acceptTransferModes(TransferMode.COPY_OR_MOVE);
                        event.consume();
    tableView.setOnDragDropped(new EventHandler<DragEvent>() {
                    @Override
                    public void handle(DragEvent event) {
                        Dragboard db = event.getDragboard();
                        boolean success = false;
                        if (event.getDragboard().hasString()) {           
                            String text = db.getString();
                            tableContent.add(text);
                            tableView.setItems(tableContent);
                            success = true;
                        event.setDropCompleted(success);
                        event.consume();
                });  

  • Drag and Drop: Moving or Copying when droping the item ?

    Hello,
    I'm trying to use the drag and drop feature on a JTree. The problem is that depending on wether I'm moving or copying an item, I need to do something different when I'm dropping my item (I have some database id to generate if I'm copying). The only problem is that in the importData method of the TransferHandler Class, I do not have the information of wether I'm moving or copying my item.
    I would need something like :
    public boolean importData(JComponent component, Transferable t, int action);And I only have:
    public boolean importData(JComponent component, Transferable t);Am I misunderstanding something with the drag and drop mechanism ?
    Is there a solution to get this "action" information ?
    I tried to subclass the DropTargetListener class of the TransferHandler, but I couldn't because of private attribute.
    Does anybody has a clue ?

    Hello,
    I'm trying to use the drag and drop feature on a JTree. The problem is that depending on wether I'm moving or copying an item, I need to do something different when I'm dropping my item (I have some database id to generate if I'm copying). The only problem is that in the importData method of the TransferHandler Class, I do not have the information of wether I'm moving or copying my item.
    I would need something like :
    public boolean importData(JComponent component, Transferable t, int action);And I only have:
    public boolean importData(JComponent component, Transferable t);Am I misunderstanding something with the drag and drop mechanism ?
    Is there a solution to get this "action" information ?
    I tried to subclass the DropTargetListener class of the TransferHandler, but I couldn't because of private attribute.
    Does anybody has a clue ?

Maybe you are looking for

  • SQL Developer 3.0.03  Code Editor Save Actions missing from menu

    I had just gotten a new notebook and installed latest version of Oracle SQL Developer 3.0.03. Seems Auto Save settings are enabled by default. I am prompted each time I switch off from SQL Dev to another app or window to Save the SQL code I am testin

  • Is there a way to optimize a digitally-signed PDF?

    Our HR department gets resumes from applicants and emails these resumes to school principals.  They optimize these pdf's so that they are able to be emailed without going over the size limit of the users' email boxes.  They are starting to get a lot

  • ITunes won't play iTunes movie

    Hi, I purchased The Dark Knight through iTunes and when I copied the file and put it onto my MacBook Pro and authorized it. It wouldn't play, it would but the screen is dark but it is still playing the timer goes but there is no sound or picture does

  • Adobe Muse without Creative Cloud?

    Hi, Can I buy/subscribe to Adobe Muse without Creative Cloud?

  • Ant Build File Invalid

    Hello, I am trying to create a simple build.xml, but for some reason JDev will not acknowledge it as a valid ant file. Below is my ant file. How do I tell JDev its a valid ant file? I guess I should say that I am trying to integrate JDev JUnit with C