How can I rearrange the columns in the not displayed section of the interactive report.

Hello

My interactive report contains 185 columns and requieres users to build its reports with some columns, but he gets lost between this amount of columns, it would be easier if the columns in the do not display the interactive report section would be automatically sorted, is it possible?

Thank you very much

Hi Eva,

A solution would be to order the column names in alphabetical order. You can create a dynamic JavaScript action to manage the sort.

The shuttle of the attribute IR "Select columns" have the ID "apexir_SHUTTLE_LEFT" or hidden columns and 'apexir_SHUTTLE_RIGHT' to the displayed columns.

The function that you create might look like:

var options = $('select#apexir_SHUTTLE_LEFT option');
var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get();
arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; });
options.each(function(i, o) {
  o.value = arr[i].v;
  $(o).text(arr[i].t);
});

var options = $('select#apexir_SHUTTLE_RIGHT option');
var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get();
arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; });
options.each(function(i, o) {
  o.value = arr[i].v;
  $(o).text(arr[i].t);
});

You need to find the right timing for dynamic action to run, I suppose the click on the button "Select columns" would do the trick.

Kind regards

Vincent

http://vincentdeelen.blogspot.com

Tags: Database

Similar Questions

  • How can I rearrange the columns in the files Panel in Dreamweaver CC 20141?

    I just upgraded to Dreamweaver CC 20141, and I want to change the order of the columns in the files Panel. But I can't understand how to do this. Can anyone help?

    Thank you

    Kim

    You can also change the oder in which the columns are presented by editing your site definition (Advanced settings > file view columns).

  • How can I rearrange the mailboxes in Mail box?

    I can't reorganize the mailboxes in mail box in El Capitan by dragging them.  Is there a new way to do this?

    Moving the mailboxes of email in the sidebar to re-order them worked until I upgraded to El Capitan V10.11.5.  Now I can simply drag a mailbox in the box of Mail V9.3.  I can select one, rename it, delete or create a new one at any desired location using the drop-down list in the ToolTip create.  But I can't drag a mailbox.

    Is it a bug or a mistake of MacOwner?

    -Gil

    Is based on the mailboxes you want to reorder. I can drag the local mailboxes on my Mac to any order. You can only do with boxes main mailbox or mailboxes on the IMAP.

  • How can I get the classic report value when I click on the record?

    Hi all

    I have a simple classic report and I want to get the empno when I click on record. For example, when I click on record 1, and I'll go '7369', if I click on the 3 card, and I'll go '7521'. How can I do this? Please help, thanks!

    Hi jane.kuang,

    Jane.Kuang wrote:

    Thank you very much!!! Your message is useful for me. But this javascript has something wrong. When I click on the first time, the empno appears only once, but when I click on the other record, empno appear twice, and I click on the third time, it appears three times... I'm new to JS, I don't know how to fix it. Thank you!

    Use instead the dynamic action to that effect.

    Here are the steps:

    • Change your region classic report-> section 'Attributes'-> 'ID' static-> give an id say myempregion static
    • Create a dynamic action with the following attributes:

    Event: click on

    Selection type: jQuery Selector

    jQuery Selector:

    #myempregion table.uReportStandard tbody tr
    

    Action: Run the JavaScript Code

    Code:

    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text();
    alert(empno);
    $('#P21_X').val(empno);
    

    Items concerned: keep it unselected

    • Change once created, your dynamic action-> go to section 'Advanced'-> set 'Extended event', 'dynamic'.

    This will fix the following in the code of the Para:

    • The jQuery Selector used by Para to trigger the click event is bad. This will fix the multiple alerts.
    • Para code won't work on loading the page, but if there are many rows in the table and pagination for the report is in place, and then when you paginate your report, it will not work. But it will work with dynamic action 'Scope of the event' the 'Dynamic' value even when you paginate the report.
    • Finally, most of the dynamic interactions page must be converted to dynamic actions, this will help the maintainability of the code, instead of stacking the javascript in your page.

    Kind regards

    Kiran

  • How can I omit the interactive elements of a PDF?

    Hello world. I work for a printing company large format. I'm running the questions during the execution of a file through our preflight software that was exported in InDesign as an interactive PDF.

    I don't have access to the native InDesign file, otherwise I would just re-export in PDF to print. My question is: is it possible to omit the interactive content of a PDF in order to get in my preflight software?

    I've seen suggestions of flattening of the file to omit it. Unfortunately, I need to keep the fine of corresponding color intact vector elements. Please let me know if you have any suggestions or need any other information about the present.

    Thanks in advance!

    Jenny

    To add to what Bob says, ask to printing and prepress section of the Acrobat forums:

    Printing & Prepress

    You should probably use the preflight Panel in the pane of Print Production and run a correction to remove interactive elements (but because I don't do it, I can not tell you what (s) to run.

  • How can I get the interactive weather maps at work since the last FireFox update?

    Interactive maps from Weather.com and Intellicast.com stop working for me with the latest updates (June 2012) to v13. Guess that do not know if it's the right "place" for this question, but need help I'm exasperated with Firefox (after years and years of being a happy user). It is not that difficult with an update!
    I have searched for a solution on Mozilla and other places and have so far led to nothing useful. Suggestions that I found so far are useless and its pretty crazy that an update for this browser would cause such a headache! Change local block has no effect. Checked on my firewall/security. Is it not. Reinstalled Java. Not it (I got the latest version installed). It is not just this much trouble to access my usual sites after an update of the browser! Note that the interactive maps on both sites work fine on Chrome and IE.

    Problem with the video play in Firefox 13, do not play the map interactive from weather.comand mlb.com/gameday Solution below worked for me.

    Jeromie Clark 2012-06-14 13:55:05 PDT          Comment 24
    

    Disable the plug-in RealPlayer browser recorder is not sufficient to solve this problem.

    You must fill out * all * the following steps:

       Launch RealPlayer
       Click the RealPlayer icon in the upper left corner of the window and choose Preferences.
       Choose Download & Recording from the left hand panel
       Uncheck "Enable Web Download & Recording for these installed browsers"
       Click OK and close RealPlayer
       Restart Firefox
    

    Re: https://bugzilla.mozilla.org/show_bug.cgi?id=764210

  • How do I call the interactive report procedure?

    Hello
    Is possible that call the procedure in an interactive report on the APEX?
    Because
    in the source of the region, he asked only the sql statement so I'm confused and I don't know how to call procedure interactive report?

    Published by: esra aktas on 12.May.2011 11:04

    Published by: esra aktas on 12.May.2011 12:05

    And your procedure returns the data? Why you don't run in an area of pl/sql?

    Or better yet, a page with two 2 areas of installation

    Region one is of html with your controls to display, and then select the procedure to run from a selection list. When your selection list returns and have a running process that takes this value, select the code you want on your table and he published on a page element.

    second region would be a region of sql report, which uses a function returns sql to select necessary sql, using the code met at step 1...

    Thank you

    Tony Miller
    Webster, TX

    On the road of life... He has "windshield", and there are "bugs".
    (splat!)
    "Squeegees wanted."

    If you answer this question, please mark the thread as closed and give points where won...

  • How can I rearrange the photos in a folder in windows 7

    I want to be able to drag ndo drop my photos in a folder in the specific order I want to show them. Why I can not unlock the grid as I can on the desktop?

    They removed this option in Win7. (No idea why). You can use this registry hack to make it back as you want. A ZIP file is available on this page if you don't want to do it manually.

    How to disable Auto organize into folders in Windows 7? -The Winhelponline Blog
    http://www.Winhelponline.com/blog/disable-auto-arrange-folders-Windows-7/

  • How can I rearrange the sequence of individual photos in the Live Photo Gallery?

    I had hoped to be able to drag them around, but does not allow.

    Hello

                
    The question you have posted is related to Windows Live and will be well suited in the Windows Live Forum. Click on the link below.
    Windows Live Solution Center
  • Default icons only for the interactive report

    Hi all

    I develop a style app catalog and display of images in an interactive report; I can get the interactive report to show the icon when users visit the report the first time, the report is quite simple. It has a series of buttons for Sections of the catalogue and when the user presses the button he fills a hidden element that is in the where the criteria catalogue, all it works fine with one exception:

    1. when the user clicks on the button catalogue and interactive data in gear changes; report changes 'View report', I want to maintain state in "Fashion icon" is possible that someone knows how can I have the interactive report only display "icon.


    Thank you very much for your help in advance, I tried a couple of things and nothing... any help would be greatly appreciated.

    958442 wrote:
    Hi all

    Welcome to the forum: read the FAQ and the forum threads sticky (if you have not already done so) and update your profile with a real handle instead of '958442 '.

    When you have a problem, you will get an answer faster, more efficient including information as much information as possible from the outset. This should include:

  • Full version of APEX
  • Complete operating system DB, version, edition, host
  • Architecture of Web server (EPG, SST or APEX listener/host operating system)
  • Browser (s) and version (s) used
  • Theme
  • Model (s)
  • Region/section type (s) (particularly as to distinguish if a 'report' is a standard report, an interactive report, or indeed a 'update report' (i.e. a tabular presentation))

    With APEX, we also had the chance to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproduce things is the best way to solve most of the questions, particularly those relating to the layout and Visual formatting. If you expect a detailed response it is appropriate that you take on an important part of the effort by getting as much as possible with an example of the problem on apex.oracle.com before asking for help on specific issues, then we can see firsthand.

    I develop a style app catalog and display of images in an interactive report; I can get the interactive report to show the icon when users visit the report the first time, the report is quite simple. It has a series of buttons for Sections of the catalogue and when the user presses the button he fills a hidden element that is in the where the criteria catalogue, all it works fine with one exception:

    1. when the user clicks on the button catalogue and interactive data in gear changes; report changes 'View report', I want to maintain state in "Fashion icon" is possible that someone knows how can I have the interactive report only display "icon.

    Thank you very much for your help in advance, I tried a couple of things and nothing... any help would be greatly appreciated.

    It also helps explain what you tried (even better, Show us what you have tried on apex.oracle.com).

    You can view the IR to the default icon via a dynamic Action: + {: identifier of the thread = 2187972} + (obviously using "ICON" rather than "RETAIL"...)

    However, do you really intend to make use of other interactive report features? It seems that the report display is controlled by custom buttons, rather than shares of IR (filters, control breaks etc.). If this is the case then a standard report based on a custom template may be a better option than to try to work around all that offer interactive reports.

  • Of the interactive report in 4.0.2.00.07 partial Page Refresh?

    Hello

    I have a page on request with an interactive report (IR) and a card provided by card Oracle APEX. I have a text box and a button "submit". The user enters a value in the text box, clicks submit, and I run an international registration based on this value.
    Everything works well. The problem is that when I hit submit, the page is submitted to the interactive report, which translates the map have to reload, which is really messy.

    How can I get the interactive report to run without submitting the entire page? I can't understand in 4.0.2.00.07.

    I spotted a new 4.1 feature: Add field "Page to go" to the attributes of the region of

    The new attribute "Page to go" has been added to the regions of IR type, classic, tabular and plug-ins report having this feature is enabled. The values of the specified page elements will be subject to a partial 'Refresh of Page' request to implement session state, so that they can be used in the WHERE clause of the SQL statement in regions. A 'Refresh of Page partial' can be triggered with the dynamic action of "Refresh", by changing the sort or paginate.
    It sounds like I want to I am registered at tryapexnow.com and set up a test page with a text box, a "submit" button and an IR based on the content of the text box. In the definition of region IR, I put the text box such as the 'Page elements to send.
    Then, I created a dynamic Action "Refresh" to update the IR area when the user clicks the submit button.
    I've tested this and it worked exactly as I wanted - i.e. IR is based on the box without a full page sent.

    Problem is it's all in 4.1, which is probably a few weeks of production. Something similar is possible in 4.0.2.00.07?

    Thank you
    John

    Hi John,.

    I think that you will need to create two dynamic actions. A type of PL/SQL block with null; as a source and enter to go. The second Action is update dynamic region...

    Martin
    -----
    http://www.talkapex.com

  • How do I rearrange the pages once they are in adobe acrobat format?

    I have a NeatDesk who scans my pages in Adobe Acrobat PDF. But when my scans must be the combination of size size and the receipt of letters, he puts them out of use. How can I rearrange the pages scanned once they have been created in several page PDF format?

    In browsing the Pages panel, you can move pages.

  • How can I rearrange tracks on the album in my media library if they download not digitally

    How can I rearrange tracks on the album in my media library if they download not digitally

    Files generally display their contents in alphabetical order.  Windows Media Player, on the other hand, if you include this file in the library, should be able to display them in the order of the songs on the album, they are on and you ask WMP for the information of the album on the web.

  • How can I know the number of columns in a TYPE?

    Hello

    If we have a guy like below

    type vc_arr2 is table of the varchar2 (32767) index directory.

    How can I get the number of columns?

    Minoo.TK wrote:

    Hello

    If we have a guy like below

    type vc_arr2 is table of the varchar2 (32767) index directory.

    How can I get the number of columns?

    It is a type of associative array definition. A table has no columns. It is a collection of elements (variables or values). An array location is usually called a cell.

    The standard method Count() exist in Oracle for all table types.

    As for the definition of the table, as in structures, variables make the table contain - associative array is defined in the PL/SQL code and does not exist in the layer of metadata to the database as a new user-defined type. For the definition, you must read the declaration of PL/SQL defining the table.

    Note that there is very rarely the need for associative tables in PL/SQL - 99% of the time they are used without any idea as to what as a table associative is also.

  • How can I create a column 2 "vertical on the left side of my rhythm of House for the installation of the buttons?

    How can I create a column 2 "vertical on the left side of my rhythm of House for the installation of the buttons?

    How can I create a column 2 "vertical on the left side of my rhythm of House for the installation of the buttons?

    With a column CSS floated.

    But ask yourself this important question.  How this column 2 "wide will look on smaller web devices like tablets and mobile phones using the portrait?   2 "on a mobile phone is a big part of the space.

    Nancy O.

Maybe you are looking for