Use drag and drop to sort data in the report

Hello!

I found a good description to sort the data in a tabular by drag and drop form.

Hello

Here's the example query:

SELECT
  empno,
  ename,
  job,
  mgr,
  hiredate,
  sal,
  comm,
  deptno,
  APEX_ITEM.HIDDEN(1, rowid) AS sort_col
FROM emp
ORDER BY display_seq

Change the SORT_COL attributes:

The value column report Standard display type.

Add in the link text column

#SORT_COL#

Replace the URL and URL target #.

When you submit page you get rowid in APEX_APPLICATION. Table G_F01.

Kind regards
Jari

Tags: Database

Similar Questions

  • Why can I no longer drag and drop attachments in mail in the finder toolbar shortcut icons?

    Why, since I've upgraded to El Capitan, can I no longer drag and drop attachments of mail of the finder to my mail icon shortcut in the finder toolbar? When I do, I get a symbol indicating I can't drop the file there. It's a convenient shortcut for me.

    How did you get the icon in the tool bar of the Finder window? Using a type of extension?

  • How to drag and drop nodes to tab between the components of the tab

    I'm working on this tutorial example ( feature drag - move in the JavaFX Applications |) JavaFX tutorials and Documentation 2 ). Based on the tutorial I want to drag tabs between two tabs. So far, I have managed to create this code, but I need help to complete the code.

    Source

    tabPane = new TabPane();
    Tab tabA = new Tab();
       Label tabALabel = new Label("Main Component");
    
    
    tabPane.setOnDragDetected(new EventHandler<MouseEvent>()
            {
                @Override
                public void handle(MouseEvent event)
                {
                    /* drag was detected, start drag-and-drop gesture*/
                    System.out.println("onDragDetected");
    
                    /* allow any transfer mode */
                    Dragboard db = tabPane.startDragAndDrop(TransferMode.ANY);
    
                    /* put a string on dragboard */
                    ClipboardContent content = new ClipboardContent();
                    content.put(DataFormat.PLAIN_TEXT, tabPane);
                    db.setContent(content);
    
                    event.consume();
                }
            });
    

    What is the correct way to insert the contents of the tab as an object? In the tutorial simple text is transferred. How do I change this line content.put(DataFormat.PLAIN_TEXT, tabPane); ?

    And what is the right way to insert the tab after that I drag the tab:

    Destination


    tabPane.setOnDragDropped(new EventHandler<DragEvent>()
            {
                @Override
                public void handle(DragEvent event)
                {
                    /* data dropped */
                    /* if there is a string data on dragboard, read it and use it */
                    Dragboard db = event.getDragboard();
                    boolean success = false;
                    if (db.hasString())
                    {
                        //tabPane.setText(db.getString());
                        Tab tabC = new Tab();
                        tabPane.getTabs().add(tabC);
                        success = true;
                    }
                    /* let the source know whether the string was successfully
                     * transferred and used */
                    event.setDropCompleted(success);
    
                    event.consume();
                }
            });
    



    I guess that this transfer is possible?

    REF javafx 2 - How to drag and drop nodes between the components of the tab - stack overflow tab

    I use a graphic (instead of text) for tabs and call setOnDragDetected on this chart. That way you know which tab is moved. There is no nice way to put the tab itself in the dragboard because it is not serializable (see https://javafx-jira.kenai.com/browse/RT-29082), so you'll want to probably just store currently slipped into a property tab.

    Here's a quick example; It only add the tab at the end of the existing tabs in the pane has fallen. If you want to insert it in the location that is closest to the actual drop you probably browse the tabs and find details of chart of each tab, or something.

    import java.util.Random;
    
    import javafx.application.Application;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.control.Tab;
    import javafx.scene.control.TabPane;
    import javafx.scene.input.ClipboardContent;
    import javafx.scene.input.DragEvent;
    import javafx.scene.input.Dragboard;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.input.TransferMode;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    
    public class DraggingTabPane extends Application {
    
      private static final String TAB_DRAG_KEY = "tab" ;
      private ObjectProperty draggingTab ;
    
    @Override
      public void start(Stage primaryStage) {
      draggingTab = new SimpleObjectProperty<>();
      TabPane tabPane1 = createTabPane();
      TabPane tabPane2 = createTabPane();
      VBox root = new VBox(10);
      root.getChildren().addAll(tabPane1, tabPane2);
    
      final Random rng = new Random();
      for (int i=1; i<=8; i++) {
        final Tab tab = createTab("Tab "+i);
        final StackPane pane = new StackPane();
          int red = rng.nextInt(256);
          int green = rng.nextInt(256);
          int blue = rng.nextInt(256);
        String style = String.format("-fx-background-color: rgb(%d, %d, %d);", red, green, blue);
        pane.setStyle(style);
        final Label label = new Label("This is tab "+i);
        label.setStyle(String.format("-fx-text-fill: rgb(%d, %d, %d);", 256-red, 256-green, 256-blue));
        pane.getChildren().add(label);
        pane.setMinWidth(600);
        pane.setMinHeight(250);
        tab.setContent(pane);
        if (i<=4) {
          tabPane1.getTabs().add(tab);
        } else {
          tabPane2.getTabs().add(tab);
        }
      }
    
      primaryStage.setScene(new Scene(root, 600, 600));
      primaryStage.show();
      }
    
      public static void main(String[] args) {
      launch(args);
      }
    
      private TabPane createTabPane() {
        final TabPane tabPane = new TabPane();
        tabPane.setOnDragOver(new EventHandler() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              event.acceptTransferModes(TransferMode.MOVE);
              event.consume();
            }
          }
        });
        tabPane.setOnDragDropped(new EventHandler() {
          @Override
          public void handle(DragEvent event) {
            final Dragboard dragboard = event.getDragboard();
            if (dragboard.hasString()
                && TAB_DRAG_KEY.equals(dragboard.getString())
                && draggingTab.get() != null
                && draggingTab.get().getTabPane() != tabPane) {
              final Tab tab = draggingTab.get();
              tab.getTabPane().getTabs().remove(tab);
              tabPane.getTabs().add(tab);
              event.setDropCompleted(true);
              draggingTab.set(null);
              event.consume();
            }
          }
        });
        return tabPane ;
      }
    
      private Tab createTab(String text) {
        final Tab tab = new Tab();
        final Label label = new Label(text);
        tab.setGraphic(label);
        label.setOnDragDetected(new EventHandler() {
          @Override
          public void handle(MouseEvent event) {
            Dragboard dragboard = label.startDragAndDrop(TransferMode.MOVE);
            ClipboardContent clipboardContent = new ClipboardContent();
            clipboardContent.putString(TAB_DRAG_KEY);
            dragboard.setContent(clipboardContent);
            draggingTab.set(tab);
            event.consume();
          }
        });
        return tab ;
      }
    }
    
  • upgrade to connected hp eprint - can't drag and drop apps to organize them the way I did before!

    I upgraded to connected HP eprint today.  Now it wont let me not to the eprint site (and, Yes, I would not have gone back if something did not work to connected hp).

    I could drag and drop placement of my apps to have as I would like on the touchscreen to eprint printer.   However, I can't do drag or drop whatever it is connected HP, and I see no help on the management of the investment of the apps on your printer.

    How is that possible?  It was easy before - printer just drag-and - drop and website updated.  I have an officejet 7610.

    Thanks in advance!

    Thanks for trying, but your answer is incorrect, according to an email I received today from HP connected:

    "I have reviewed your email. I understand you have questions related to the reorganization of the order of apps on the printer. I know this can be frustrating, and I want you to know you are certainly valuable for us and I want to do everything possible to ensure your complete satisfaction. The following information should provide the answers you need:

    (1) Unfortunately when HP has launched the new website (www.hpconnected.com) they do not include a method to rearrange applications on the printer. They can include this feature in a future update, but as this time it is not available.

    (2) If you did upgrade to connected HP eprintcenter, you do have the option of return. EPrintCenter is being be eliminated and retune to the old site unfortunately is not possible. »

    I hope that < < S-O-O-N > > HP fixed this new Web site - it's crazy take-out all controls like that from their customers and not embellish their or at least let them be.

    I can take this OJ 7610 back for a new brother 11 x 17 all-in-in-one - they look nice )

  • How can I allow a learner to examine one created Drag and Drop Quiz to show to the learner their incorrect answers or correct?

    Captivate 8: I created an assessment with two multiple choice question slides and 8 drag and drop question slides. After that the learner views their score, I wish they were able to examine all their answers to see where the mistakes were made. Currently, the revision quiz shows that their answers and the correct answers to multiple choice question slides. Ideally I'd like a review of question slides slide - déposer where the incorrect choices appear in red or something to that effect. I appreciate any insight and suggestions!

    Sorry, D & D are not a normal question slide and I can't recommend a feature request registration. I would really be able to choose if an interaction is reset or not, because this problem is not just for D & D but for all interactions of training as well.

  • trackpad no reaction on drag and drop, when I press on the very short?

    Hello

    I wonder if I have to go to apple genius bar like my trackpad (retina mb 12 ")

    does not react when I press on and move an item, press only when a fractons of a second.

    This is how different my mb air

    right?

    Could not edit my previous post:

    It does not react when I press on and want to hold/move an element, only when I press on a fraction of a second, it works.

    When I hold down, it shows me the image of overview of the issue, even while pressing the space bar.

    It seems very delicate, because I'm used to drag and move an item by clicking / pressing more time to activate items and then drag them to another place,

    by moving my finger on the trackpad.

    This is what apple has changed or is not working properly my trackpad?

    Thank you

  • Windows movie maker now crashes whenever I do drag and drop an audio file in the main window, what I can do?

    Signature of the problem:
    Problem event name: BEX
    Application name: MOVIEMK.exe
    Application version: 6.0.6002.18273
    Application timestamp: 4c1a4a61
    Fault Module name: StackHash_fd00
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception offset: 00000000
    Exception code: c0000005
    Exception data: 00000008
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 2057
    Additional information 1: fd00
    More information 2: ea6f5fe8924aaa756324d57f87834160
    Additional information 3: fd00
    Additional information 4: ea6f5fe8924aaa756324d57f87834160
    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409
     
    ___
    Data Execution Prevention - I can't turn off for WMM and I can't uninstall and re-install WMM...

    Hello

    1. don't you make changes on the computer before the show?
    2. you receive an error message on the computer?
    3 is confined with any particular audio file?

    4. what happens when turninig turn off DEP for the program?
    In some cases, a file with a file type that Windows Movie Maker does not support may cause Windows Movie Maker stops responding. This can be caused by incompatible video filters. You can verify what filters are installed and force Windows Movie Maker to avoid loading specific filters by restarting simply Windows Movie Maker.
    Method 1:
    You can solve the problem by following the steps from the link:
    Problems with importing files into Windows Movie Maker
    http://Windows.Microsoft.com/en-us/Windows-Vista/problems-importing-files-into-Windows-Movie-Maker
    Method 2:
    You can also perform a clean boot and check if the problem occurs.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article.

    Method 3:
    You can see the city link below to download the codecs on the computer.
    Codecs: Frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions
    WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Drag and drop between applications using as3

    Giddayguys

    Research on features just drag-and - d├⌐poser of AS3 in the Air, specifically by dragging an AIR application data in an air application No.  You have no control over what happens to the data once the application without Air?  for example if I click on a datagrid control in the AIR and he copied the text in the column to the Clipboard and then I drag out of the AIR in, for example, Windows Notepad, can I paste data from the Clipboard by a fall?

    Thank you

    Wow, I thought flash.desktop was all the AIR, my mistake, thanks for the info as always kglad!

    And #8 is still correct, there is no simple interface air via drag and drop in another application. The main reason is that other applications will need to be programmed to the win32 message and know how to handle. Some applications may allow it, but you have to respect their API to accomplish this. Less do you a DONKEY win32, chances are that the simple answer to your question is no, this is not possible (for good reasons).

  • I am trying to copy a file to another folder, I have the file open, how do the other folder along the side so I can drag and drop

    I have a file on a cd - rw that I try to copy to a different folder, I open the file, but how can I get the new folder the long side so I can drag and drop

    Hi tommckeith,

    ·         What version of the operating system is installed on the computer?

    ·         You try to move the file on the CD to the computer or inside the CD?

    If you want to move the file on the CD for computer, follow the steps in the article.

    Move and copy files using drag and drop

    http://Windows.Microsoft.com/en-us/Windows7/move-and-copy-files-using-drag-and-drop

    Copy and paste a file

    http://Windows.Microsoft.com/en-us/Windows7/copy-and-paste-a-file

    If you try to move the file to the CD, then it is not possible to make changes on the data stored in the CD. You must copy the data to the computer, and then make the necessary changes. You can also make the changes before saving the data to a CD.

  • Can you "Disable drag and drop" in Windows 7?

    is there a method to DISABLE drag-and - déposer?

    Hello

    You need to carefully examine the results when you disable a base like the Drag and Drop feature.

    Some examples of functions that may be affected:

    • In many programs, you would be no longer able to drag and select a block of text to copy.
    • It would be impossible to drag a window to another location on the screen.
    • You cannot drag an icon on the desktop for the re - position.
    • In Windows 7, you would be no longer able to drag icons pinned in the taskbar for the re - position.
    • In other programs, you would not be able to drag the mouse to select multiple items.
    • With some third-party utilities that use the "sliders" to make adjustments, you wouldn't be is no longer able to drag the sliders.

    Most users want to disable drag and drop because they have accidentally drag and drop an element to an unknown destination.

    What you can do, without disabling completely the drag and drop functionality is to adjust the threshold to slide with a registry change. This will change the distance that an object must be moved before a drag is initiated.


    WARNING:
    always to the top of the resistry before making any changes. To do this in the registry editor, select file/export. In the scope of the export, all options you select. Save the file to the desktop. If something goes wrong, you can right click on this file to restore the registry.

    Press the button of the Windows Logo + R to bring up the run dialog box. Type regedit.exe in the Open box, and then click OK.

    Navigate to the following key.

    HKEY_CURRENT_USER\Control Panel\Desktop

    In the right pane, find the following.

    DragHeight and DragWidth. These two values will have a value of 4data.

    Right-click each of these values and select Edit.

    In the value data box, type 20.

    Click OK.

    You will need a Log Off/Log on to see the results.

    Test the new setting to see if it works for you. If 20 does not work for you, increase the value 30, etc., until you find the setting that your satisfaction with.

    Reset these values back to 4 returned it all back to the default value.

    Concerning

  • Advice on Drag and Drop

    Hello Forum, I was wondering if anyone had the time to give me a little advice on how to best go about drag - d├⌐poser component in Flex. I am fairly familiar with the framework and have used drag and drop before, but it's a little more complicated.   I have a generator of form drag / move.

    The user will be able to create a set of fields and then allowing them to drag form fields in it.  Once the form field has been created, it will become dragable autour the fieldset current and also in other games of fields.   It's the strawberry that I wondered about.  What flex components should I use as a field and how can I manipulate them dragged around the fieldset.  When the field is slipped on another in the set of fields that they must all move down to create space for it to be released in and if its sliding out of the fieldset the gap where he should be filled with the other fields.

    Any ideas? Thank you, Tom

    Forgive me if this isn't entirely Flexish.  I did a lot of work in AS3 lately and I think that mode right now.

    Given that your fields, you use really are only tools to store data that will eventually be used to build our real fields I would use a simple rectangle that maybe has a right click menu to open screens to set values related specifically to the field.

    The fields themselves can use the mouse down / move events for the movement (I'll assume you know how to do this.)

    When you move them around the field that moves can update a value object with coordinates.

    You can perform a test of positioning between the fields that are already placed.  If a field touches another (flat above it), the two fields trade x, coordinated and centres of the fields helps identify which way the field under must move itself.

    When the moved field is deleted all fields who were previously commit away their current coordinates to perminant storage and the fall field would add to your fieldset data structure.

    Sets of fields, which I suppose are simple containers, would need only contain a list of the fields it contains and all values related specifically to itself.  The fields contain their own details coordinated and all other values have been set.

    All of this could be broken down into a relatively simple structure of XML or stored in a relational database.  You may consider managing the events and data structure updated using Blaze DS or LCDs.  In this way, others may consider the changes taking place in real time from another browser.

    I realize the implementation more difficult is their thinking but I hope that helps at least to give you some ideas.

    -Joe

  • Drag and drop the values

    HI - is it possible to drag and drop from one object to the other values?

    I am trying to create a planner of degree two page for students of my institution.  The first page will be of the degree requirements. The second page will be a blank template for several semesters courses planning... like a big grid. See below:

    First page

    Requirements
    CourseDo?

    English 1

    2 English
    Math 1
    Math 2

    Page two

    Fall 2009spring 2010
    .
    .
    .
    .
    .
    .

    I'd like the students to be able to click on a course and drag in the first half, they want to take it.

    Are there other ways to solve this problem? Could I set up on the first page a logic to determine what the requirements are again... then have an army of drop-down lists on the second page that contain values of other requirements?

    Thank you

    No, it is not possible to drag - move in a PDF form.

    The model is suitable for a question-and-answer format by which you use check boxes, drop-down lists, radio buttons, etc. for data capture. In your case, you could do data capture on page 1 and link responses to the calendar on page two.

    Steve

  • Why can I I is no longer drag and drop photos directly from photos of apple in the Pages?

    Until very recently, you can take a photo from iphoto/photos and then quickly drag and drop directly into the Pages. Now, I have to drag and drop the photo on the desktop, then drag and drop again from office to the Pages. Is this just a way more Apple is dumbing things down and make things slower for those who already know how to use their software or some setting I'm not aware of?

    In the Pages v5.6.2, you can click, drag and drop an image from the Photos app in the page document related, just as you can from the media tool in the toolbar of the Pages v5.6.2.

    To get an image from Photos in a Pages ' 09 v4.3 document, you must click on the image you want in Photos and menu editing: copy, right click in the document to Pages ' 09 followed to select Paste from the context menu. There is no drag and drop Photos in Pages ' 09 v4.3. There is no access to the photo library within the Pages ' 09 v4.3 support tool.

    Tested: OS X 10.11.5.

  • 'Most visited' disappeared from the My Places bar. I tried all the suggestions about re: config, drag-and - drop, etc. Nothing works. Thoughts?

    The 'most visited' tabs and an RSS feed I use have disappeared from my places bar. They now sit under 'Favorites' and are very annoying.

    I followed all of the suggestions of Mozilla and other sources about the topic: config. Nothing works. I tried to drag and drop 'most visited' return to the places bar, but this does not work, either.

    Can someone please give me a solution?

    Thank you very much.

    patalarga

    You can drag the "bookmarks toolbar items" in the toolbar bookmarks to the Navigation bar if you want to bookmark is displayed on the toolbar.

  • I've lost the ability to copy files on my CD player. When I drag and drop, the only authorized action is 'move' and it does not work.

    I've lost the ability to copy files on my CD player.  When I drag and drop, the only authorized action is 'move' and it does not work.   I tried press and hold the CTRL key while dragging, and when I do that all the other disks show "copy" as the default action, but when I hover over the action CD player available only changes to 'pass '.   I ran the Microsoft Troubleshooting tool for CD/DVD players and he said that the media were not writable, but there is a blank CD in the drive.  Any ideas on how to solve this problem?

    Thanks, but the cd/dvd drive works well - I can burn a cd with windows media player for example.  the problem is that I can't copy files to it.   I can play CDs (haven't checked the DVD).  I can not do and could do before, is doing drag and drop files on it.  The only authorized action is "move".   This happens even when I click CTRL + do drag.   I can copy it to any other player, but the CD player, and when I hover over the "exemplary" drive CD goes to 'move '.

    have you tried using a different suite of cd/dvd burning?

    Imageburn is free and easy to use: http://download.imgburn.com/SetupImgBurn_2.5.7.0.exe

    There may be something to play with your access keys if you have a (ie., wirekeys)

Maybe you are looking for

  • Corrupt junk folder

    It's happened several times, but I've never managed to get this properly resolved. I hope that it is a problem that can be fixed in a next version of Thunderbird. My junk mail is set so that junk e-mail for all my accounts (a dozen) is sent to a sing

  • Firefox error: video format or an MS type is not supported

    Customer said that the video cannot load on firefox except for other browsers.It shows "video format or the MIME type is not supported.Firefox version is 33.0.3. The video is mp4 format.

  • HP dv9000 Power Up Cycling

    My HP Pavilion dv9308nr notebook PC will try to power for about 20 seconds (all of the lights on) and then stop for about 1 second then repeat the cycle. Regardless of the stop mode.  Strangely enough, it almost never happens time, probably 9 out of

  • boot.ini Collectors Edition

    Why was my first tutor so interested in making points on the boot.ini file. ? 1999. even now, after 13 years, I continue to look to save her and sometimes change to try to understand how this small file has a great impact on the startup of the operat

  • SSD and Windows XP

    Is there a problem using a Solid State Drive (SSD) with Win XP and can it be partitioned as a HHD?