How to color line specific "BOLD" / inactive in the classic report (oracle apex).

I have the classic report in oracle apex

with query below

Select EMPNO, ENAME, HIREDATE, ADDRESS of emp COMM;

If the ENAME = "John".

so, I want to do any "BOLD" line and readonly/inactive. (set of rank who name John)

Thanks in advance...

Simple answer: see this blog: reports APEX: color line based on column value

Thank you

Tony Miller
Software LuvMuffin
Ruckersville, WILL

Tags: Database

Similar Questions

  • Enter the same line after saving changes in the classic report

    Hi all

    I have a classic long report. The user can update the different lines of this report using the procedure of update MR. Now the user requests easier flow. What he wants is to return to the same line after what he saves the changes. How is it possible to do

    Thank you very much
    Zahra

    Hello

    I have a sample
    https://Apex.Oracle.com/pls/Apex/f?p=40323:40
    When you change the Active column selection list, the page is sent. After presenting the report of scrolls of JavaScript

    See this post on the details
    HELP THEM FOCUS CURSOR TABULAR

    Kind regards
    Jari

  • change the color of line based on the value of column 5 Apex in the classic report

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Hello

    I know this question has been asked several times here, but I'm working on 5 Apex and need to know the correct way to do it in this version.

    I need to change the color of the text of the entire line (no background color) based on the value in one of the columns of the classic report. I have just two conditions, if the value of column = Yes, color should be red, otherwise it must be green.

    I am new to jscript and css, so appreciate if someone can tell me the solution with steps.

    I have already checked this link that changes the value of the column, need to do something similar to the whole line.

    https://tylermuth.WordPress.com/2007/12/01/conditional-column-formatting-in-apex/

    Hi coolmaddy007-Oracle,.

    Here's an example set up on the apex.oracle.com according to the specifications you gave: https://apex.oracle.com/pls/apex/f?p=35467:1

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Here is how it is done:

    Create a dynamic action with the following specifications:

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code:

    $('td[headers="JOB"]').each(function() {
      if ( $(this).text() === 'MANAGER' ) {
        $(this).closest('tr').find('td').css({"color":"red"});
      }
      if ( $(this).text() === 'SALESMAN' ) {
        $(this).closest('tr').find('td').css({"color":"green"});
      }
      if ( $(this).text() === 'CLERK' ) {
        $(this).closest('tr').find('td').css({"color":"blue"});
      }
    });
    

    NOTE: Download the selector appropriate for your knowledge $('td[headers="JOB"]') case using firebug/browser development tools.

    Items concerned: leave blank.

    PS: Changed the example to change the color of text instead of the background color.

    I hope this helps!

    Kind regards

    Kiran

  • How to remove a specific email inbox with the client application code?

    Hello

    How to remove a specific email inbox with the client application code?  Please suggest useful links.

    Advanced thanks.

    Concerning

    Sunil.G

    Your question is a bit broad, so it is difficult to give you details.

    First of all, you must have the ID of the original message. Usually, you get either by hanging the message when he came into the Inbox (by implementing FolderListener), or by retrieving a list of mail of enamel "Store".

    Once you have this message ID, you call Folder.deleteMessage ().

    Here, there is a laboratory of Developer:

    http://NA.BlackBerry.com/eng/developers/resources/Labs/listeningforemail.jsp

    Moreover, classes to look in the API of reference:

    Store

    Folder

    FolderEvent

    FolderListener

    Session

    ServiceConfiguration

    Message (message RIM, not the J2ME)

  • Highlight a line in the classic report based on condition

    HI all the gurus

    Apex 4.1.1 using oracle 11g linux oc4j

    I want to emphasize a line where #column_value #= 'Y' to keep gray others like normal report parameters.

    I have a simple sql query

    SELECT PK_ID,
      FIRST_NAME,
      LAST_NAME,
      INITIAL_REG_DATE,
      MAIL_DATE,
      BEGIN_DATE,
      END_DATE,
      END_DATE-BEGIN_DATE as "#days",
      BEGIN_STATUS,
      END_STATUS,  
      COMMENTS,
      DELETE_FLAG,
     case when  DELETE_FLAG='Y' then 'GREY' else '#f0f0f0' end  DELETE_FLAG ,
    INITIAL_REG_DATE+(END_DATE-BEGIN_DATE) "New Reg end date"
    FROM SOR_TRACKING_DEL
    where pk2_id =:P216_Detail
    order by mail_Date desc
    
    
    
    

    I created a dynamic action

    who will be the tree on load, LINK on this classic report

    $("input[name=f29]").each (function () {}

    var lThis = $(this);

    {if (lThis.is("Y"))}

    lThis.parents("tr:eq(0)").children("td").css({"background-color":"GREY"});)

    } else {}

    lThis.parents("tr:eq(0)").children("td").css({"background-color":"#f0f0f0"});)

    }

    });

    But it doesn't change color as expected...

    Kindly help me!

    Thank you

    Scott and Tom

    Thank you guys for looking into this.

    Pls ignore my incorrect explanation and my inexperience with jquery.

    I read some blog and trying to do the same on the classic report, but all blogs, I found to this day called interactive report or tabular report, that none of them mentions classic report.

    I assume that using the classic report will not be a good idea to start with. :/

    I don't know if this is the proper syntax and logic to highlight the line

    $(function(){

    varDELETE_FLAG = $(this);

    If DELETE_FLAG.is("Y"))

    {

      DELETE_FLAG.parents("tr").children("td").css({"background-color":"GREY"});).

    }});

    I also created app here

    http://Apex.Oracle.com/pls/Apex/f?p=35155

    get out of the workspace

    Tester/testing

    request 35155

    Thanks again.

  • highlighting of lines in the classic report

    I have a classic report with a disabled checkbox that I check a program.

    Using the 25 Standard - apex 4.2.1 report theme

    Only alternate lines are changed by the JavaScript below. Don't know what I have to do

    for all verified ranks has highlighted.

    I created an example on the website of oracle apex.

    user name: [email protected]

    password: whiskers

    http://Apex.Oracle.com/pls/Apex/f?p=36690:2:112760870106921:

    LOCATE THE REPORT * CODE

    Select ename, empno, mgr, hiredate, sal, comm, deptno, job,

    apex_item. CheckBox2 (p_idx = > 29, p_value = > empno,)

    p_attributes = > DECODE (deptno, 10, "checked")

    30, 'checked', NULL)

    || "disabled = disabled") action.

    apex_item. RadioGroup (p_idx = > 30, p_value = > empno,)

    p_attributes = > rb DECODE(deptno,10,'disabled=disabled',))

    WCP

    ******************************CODE ****************************

    I'm trying to highlight the lines when the boxes are ticked and used the code depending on what can be found here:

    onLoad = "javascript:changeTableColor();" »

    ******************************CODE ****************************

    < script type = "text/javascript" >

    var szColorTo = "#F5D0A9";

    var szColorOriginal = "#CCCCCC";

    function changeRowColour (pTarget)

    {

    pTR var = pTarget.parentNode.parentNode;

    If (pTR.nodeName.toLowerCase ()! = 'b')

    {

    return;

    }

    if(pTarget.Checked == true) {}

    pTR.style.backgroundColor = szColorTo;

    } else {}

    pTR.style.backgroundColor = szColorOriginal;

    }

    }

    function changeTableColor() {}

    var columnArray = document.getElementsByName ("f29");

    for (i = 0; i < columnArray.length; i ++)

    {

    changeRowColour ([i] columnArray);

    }

    }

    < /script >

    Hello

    Here is an example of use of jQyery

    $("input[name=f29]").each(function(){
    var lThis=$(this);
    if(lThis.is(":checked")){
      lThis.parents("tr:eq(0)").children("td").css({"background-color":"#F5D0A9"});
    } else {
      lThis.parents("tr:eq(0)").children("td").css({"background-color":""});
    }
    });
    

    Create a dynamic action that fires after the region refresh JavaScript execution. Place above in the code.

    Kind regards

    Jari

  • How to avoid the total general of the classic report when the column break is installed in the Apex

    Hi all

    I develop application using Oracle Apex 4.2.0.

    I created the classic report Page.

    That I have summarized a column by selecting the check box check sum for the column.

    His shows the Grand Total.

    Then I chose the columns to break to the first column.

    His show the total groupwise and total as well as great as image below.

    dc.jpg

    My requirement is

    Need to hide total(Total:)) GroupWise or total general. I need to show any a total, not both.

    How to do this?

    Thank you

    Su.GI

    Su.GI wrote:

    Hi, thanks for your response.

    I use theme - productivity Application - issue 26

    -Standard model

    Report - report of Standart for classic report model.

    The above CSS code where I want to use in the page or report or model region.

    Specify a static region ID for the report area and put the following CSS rule in the CSS Inline property page:

    #static-region-id .uReportStandard tr:last-child td {
      display: none;
    }
    

    where static-region-id is the ID specified for the region.

  • How to put the checkbox in the classic report header line?

    Hello

    I have a classic report that has an element of control as the first column. I would like to put an element of the checkbox in the header, line when what it is supposed to set the element of the checkbox in all State lines. Something like in components shared APEX / links / edit the grid.

    Is this possible to do? TIA.

    Tamas

    Hello

    See for example this post
    Re: Form to check all the header checkbox

    Kind regards
    Jari

  • How to get the value of the interactive report into apex 5 column

    Hello

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    Hi SYSMAN2007,

    SYSMAN2007 wrote:

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    You can do this with the help of dynamic action. You need to get the value of the column of a line click in IR (using jQuery) and set the value to the elements which, in turn, can be used as a filter to other reports on the same page.

    See: How to use the values in the columns of an interactive report (Apex 5)

    Can you reproduce your problem on apex.oracle.com and share the credentials of the workspace, so that I can demonstrate how this can be achieved.

    See an example of how it can be done with dynamic actions: https://apex.oracle.com/pls/apex/f?p=35467:5

    Kind regards

    Kiran

  • Entire line of the classic report clickable

    Hello

    I tried this solution to make an entire line in a clickable classic report:
    {message: id = 9656396}

    It worked pretty well, but I have only on the first page of a multi-page report. If I go to the next or previous page lines no longer not clickable. I have tried using livequery but finished with clickable rows on every second page:
    The report of expenses with clickable rows. First time I click on 'next' lines are not clickable, second time they are clickable again and so on.
    My livequery statement looks like this:
    $(document).ready(function()
    {
      $('table tr .myClass td').livequery(function(){
        $(this).css("cursor","pointer");
        return false;
      });
    });
    Can someone please give me an advice what I'm doing wrong here and how to solve my problem?

    See you soon,.
    Andreas

    PS: How can I format the source code in this forum?

    Edit: format

    It works for me, it should work for you.

    Using partial page refresh?
    You put the code (without

  • How to create a column width fixed in an interactive report 4 APEX?

    This thread is a continuation of {message identifier: = 9191195}. Thank you fac586.

    Partial success: the following code provided by fac586 limit the width of the column of the Apex 4 interactive report as long as the data in the column contains a white space in a browser Firefox 3.6:

    < pre class = "jive-pre" >
    < style type = "text/css" >
    e #T_DESCRIPTION {}
    Width: 300px;
    }
    TD [headers = "T_DESCRIPTION"] {}
    Width: 300px;
    dressing: break-Word;
    }
    < / style >
    < / pre >

    Notes:
    1. the above code is placed in the HTML header for the page section.
    2 T_DESCRIPTION is defined as VARCHAR2 (2000).
    3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.

    I tried to add "float: left;":

    < pre class = "jive-pre" >
    < style type = "text/css" >
    e #T_DESCRIPTION {}
    Width: 300px;
    }
    TD [headers = "T_DESCRIPTION"] {}
    Width: 300px;
    dressing: break-Word;
    < font color = "red" > float: left; < / police >
    }
    < / style >
    < / pre >

    Notes:
    1 "float: left;" requires no white space and successfully splits the column between the characters instead of whitespace.
    2. "float: left;" reduces the height of the cell and allows the page to show through... could not determine how to solve this fundamental problem.
    3. the above code works in Firefox 3.6.12 browser but does not work in the browser Internet Explorer 7.0.5730.13.

    I've did some more research, but I've yet to discover how to create a fixed-width column in an interactive APEX 4 report that displays correctly in Internet Explorer 7 browser.

    Ideas and help will be appreciated.
    what theme are you using?

    A customized version of the 15 theme.

    You said you were using APEX 4.0, if I was testing on 4.0, but using one of its new themes based on the standards. 15 theme is a theme of legacy from older versions of APEX, mainly to ensure a certain level of support for the despised IE6 browser. The new themes are designed to restore mode standard and those inherited mode quirks (This is explained here). Firefox (and Safari, Opera and Chrome, and...) for your application, it's academic: all the required CSS: selectors attribute, the property max-width and dressing work in two modes.

    Enter Microsoft. They decided that in IE7, backwards compatibility meant that new CSS features would be supported only in standard mode, even if they had never been implemented in older versions, with no previous, behavior that may break. Go figure. Yes, even so the dressing will work in quirks mode (no surprise - Microsoft invented), attribute selectors, and max-width only. The latter is bug in standard mode, so I tried using widthworkaround, but who has always used an attribute selector, which of course is ignored, there are no selectors of friendly quirks mode in uneditable Oracle IR of supplement.

    The best 2 options are:

    1. stop using IE.

    2. use a theme based on standards.

    Less satisfactory would be:

    3. change your theme custom (or some of its pages) in standard mode (but it could break him other stuff).

    4 throw some JavaScript to fix the problem (I'll sleep on this one).

  • Classic blackBerry how can I keep my clock displayed on the classic night of BlackBerry

    I just came from the classic curve and can't know how making the clock are displayed when I plug. My curve's done it automatically.

    The device should be plugged and night mode. Click the button to turn the unit standby, and then click New to display the lock screen. Slide slowly down from the top (like the shadow of the pull down), all the way down to put in bedside mode.

  • I have two report in a page and I want to change the report that one color of header but he perform the two report

    I have two report in a page as A report and B and I want to change the header color report only a header, but it will change the color of the header of the report I use this code in the css section

    table.uReport > thead > tr > th {}

    color: red! important;

    }

    but it will be the effect on the two report kindly can you help me

    Mr.javvi wrote:

    I have two report in a page as A report and B and I want to change the header color report only a header, but it will change the color of the header of the report I use this code in the css section

    {table.uReport > thead > tr > th}

    color: red! important;

    }

    but it will be the effect on the two report kindly can you help me

    Specify a static region ID for each region and which applies to the to box in your rule of CSS selector to target the report only in this region:

    #report-A table.uReport>thead>tr>th {
      color :red !important;
    }
    
  • 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

  • Add the check box for each line in the classic report

    Hello

    I created the report classic with checkboxes in each row and added the On-Submit process, BUTTON CONDITIONAL, to determine the behavior of the boxes. The process of PL/SQL is suppose to delete the selected row from the database.

    I get the success message, but when I check the database, the line is still present in the database.

    PLSQL CODE:

    FOR i IN 1.. apex_application . g_f01 . County LOOP

    DELETE
    Of
    Registry
    WHERE
    reg_id
    = apex_application. g_f01 (i); END LOOP ;




    ORACLE APEX: 4.2

    Thank you

    ApexNewLearner wrote:

    I tried the above solution, but I get the error message.

    Don't see no error message (maybe someone else was modulate the application). As I found it, the problem was the property view as of the column being Simple Checkboxvalue box. This type of display should be used only by generated by the wizard tabular forms, not with a apex_item.checkbox2 column. When the display type is changed to Standard report column, the row is deleted if necessary.

Maybe you are looking for

  • New installation of ff15 crashes always in under a minute

    After way too much nagging, I improved a product that worked, ff3.6, one who is not, ff15. It upgraded 3 plugins.Now when I open ff, no matter if I try actually use or just sit and look at a blank page, it crashes in about 30 seconds.Try to go there,

  • WSN node as a router

    How to configure a node WSN to act as a router rather than an end node?

  • When I try to renew my IP address I get the error: the rpc server is unavailable.

    I'm not getting Ip Add. in my laptop. When I try to renew the ip with IPCONFIG/renew it gives error the rpc server is unavailable. If I try to start this service in services.msc, that she does not get any changes. Thank you & best regards Aniket

  • Internet problem (redirect)

    I bought two computers to Dell XPS desktop about two years at Costco. One for home and one for my fiancée's House. I'm running Windows 10 on two of them and have been for about six months. Mine still works fine. his computer suddenly have a weird pro

  • Is a Radeon HD 6670 with Aero video card compaitable

    Windows 7 ultimate, card video HD 6670, gigabyte MB, 16 MB ram samsung syncmaster monitor. Running in flickering windows and the Aero Troubleshooter shown this video card is not s upport required display settings. Unusual?