Interactive report - with different colors column header

Hi all

I use the Application Express 4.0.2.00.07.

Theme: 2 blue Builder

I have the zoom before interactive reports in a page, in do I have to display each header of reports with different colors instead of having the same blue color given by theme for all reports.

Also I need this color change of header for this page only, not for the entire application.

can someone offer me please how to do this?

Thank you for your help in advance.

Kind regards

Santini.

Add a static region ID in each region report and include a stylesheet like the following in the HTML Header page:


When the report 1, report 2, etc. are the static region ID.

Tags: Database

Similar Questions

  • It is possible to sort an interactive report with a default column?

    Hello

    I have a great request accompanied by an interactive report.
    select "ID", 
    "DATE_CREATION",
    "SERVICE",
    "RESPONSABLE",
    "NATURE_CONTRAT",
    "SOCIETE",
    "DATE_DEBUT",
    "DATE_FIN",
    "DELAI_RENOUVELLEMENT"
    from "#OWNER#"."CONTRATS_MAINTENANCE" 
    order by DATE_FIN desc
    Unfortunately, the interactive report not display using the order in the SLQ query.
    I tried to select the 'out' of each of the other columns in the attributes column Section, but without any improvement. If I remove the declaration of the order in the SQL query, nothing changes in the order.

    You have an idea on how to display the rows in the order of the sql query?

    Thank you for your knid answers!

    Geraldine

    Christian,

    This can be a little tricky at first. Try this:
    1 remove the order by clause of the query.
    2. close the application, not the generator, just the application.
    3 reconnect and try to use the interactive report options to sort the information.

    It work? If so:

    4. get the order of the way you want as the default. Note: you get more sort options if you use the Action Menu (milling wheel) and a sort by selecting more simply by clicking on the column headers.
    5. save the report by selecting the save the report option in the Action Menu. If you see a drop down, save the report 'by default'.
    6. close the app again and come back.

    It work?

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    You can reward this answer by marking as being useful or correct ;-)

  • Interactive report with Null columns

    I have a user who wants to export an interactive report, and there need to some columns will appear on export so that he can fill the data later (there is an intermediate step, while we work on getting all the data they need in the database). I created the report query, and there are a handful of columns null or empty (to keep the correct order for export). When I try to add this query to the APEX, in an interactive report, I get an "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.

    Googling autour shows me that this happens because of the columns the same name, and the solution is to provide aliases for all columns. My report has alias on all columns, but I can't yet create an interactive report. I tried to change the columns null of empty strings, as well as encompassing the alias in double - quotes, but nothing works. However, I can use my original query to create a standard report, but due to export, this is not ideal.

    I was able to create the interactive report with a null and then edited the source column of the report to add to the others. This had to be done one at a time, given that you are trying to add several null columns at the same time gives the same error even once. Unfortunately, when I try and you run the page, I get a ' ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined "error.

    My original query:
    select customer.customer_name as customer,
           project.name as project_name,        
           trunc(project.estimated_end_dt) as due_date, 
           project_status.project_status_desc as status, 
           null as revenue, 
           project.baseline_effort as baseline_hours,
           null as projected_cost,
           null as est_gain_loss, 
           project.actual_hours as actual_hours,
           project.estimated_hours as projected_hours,
           null as projected_cost, 
           null as projected_gain_loss, 
           null as roi       
        from project, 
             customer
      where customer.customer_id = project.customer_id
      and project.inactive_ind = 0
      and project.customer_id is not null
      and project.estimated_end_dt >= :DTP_P50_STARTDT
      and project.estimated_end_dt <= :DTP_P50_ENDDT
    order by customer.customer_name, 
             project.estimated_end_dt;             
    Can someone tell me a way to create an interactive report with multiple null columns?

    Hi shimmoril,

    The problem is probably that you have two columns aliased as 'projected_cost' (columns 7 and 11).

    Hope this helps,
    John

    If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

  • Impossible to use two af:tables with different colors (skins)?

    Im trying to configure the Siebel self-service application and customize the counting. I have a few problems, because I need to show two af:tables on the same page, but with different colors. One with black background and white text (header and body) and the other with white background and black text. I tried to use styleClass: are, but the css settings defined for the table of the af are the substitution of those mentioned in the style sheets.

    Anyone with an idea how to solve this problem?

    Thank you
    / Jon-Erik

    Hello

    If the styleClass name is table1 then the skin selector would be something like

    .Table1 af | table

    mul afTable.af: table

    I don't see how this can be overloaded. If you hypothesis is that the style class reference must be to a definition of CSS on the page, then indeed, it does not. The styleClass name is an identifier of type named for the skin component and is used to describe more the component skin

    Frank

  • Why you do not have your products with different colors? compatible with the colors of the iPhone or the iPad? Example: Gold Earpods, silver, BLACK and Rose Gold.

    Why you do not have your products with different colors? compatible with the colors of the iPhone or the iPad? Example: Gold Earpods, silver, BLACK and Rose Gold.

    You say Apple your wishes on the link below.

    http://www.Apple.com/feedback/

  • Graph XY overlay multi field with different colors

    Hello

    I want to make a cyclic XY one track loop and plot the graph for each cycle in different colors.

    I want a field like XYgraph2 but with different colors and probably even without this line of tracing. How can I change my schema?

    Thank you for your time and your efforts.

    KOUYATÉ

    Try this.

  • Desktop goes down with different COLOR SCREEN ERROR, PATTERNS of ERRORS

    My office always crashes (with different colors) at any time, it starts the stop then cut again, but still fact once again, and I also see a grounds checkerboards at the peak of the computer, videos and games, correct computer! TNX.

    My office is still blocking (with different colors) at any time, it starts the computer to stop then cut again, but don't always work again, and I also see a checkered patterns at the peak of the computer, videos and games , correct! TNX.

    Hello

    It is normally a sign of corrupt graphics drivers or graphics hardware fault.

    You should go to the website of your computer or the manufacturer of the graphics card > Search a drivers and download article > search your computer or your graphics card model number > your operating system > drivers for it: either video / graphic / Chipset (according to the wording it) > download and install the drivers.

    If that fixed it, it seems to me be a problem of graphic material.

    As it is a desktop, either Exchange your graphics card with a good.

    Or, if graphics card built-in, you will need to install a graphics card in a slot of the motherboard to see if this solves the problem.

    See you soon.

  • Column header in the interactive report with special characters

    Interactive column heading in the report sorting and filtering is broken when I used special characters in it.

    Column sorting options appear in the wrong place and the page becomes unresponsive.

    Cause: I use a slash "/" in my query and who broke it. I tried ampersand and the same problem exists.

    Query: Select project name, status ' Open/closed' projects;

    This problem does not exist in the classical report, but only in interactive report

    Version: Apex 4.2.4

    Here's a demo app with the problem I'm talking about. Trying to sort the column entitled ' open/closed '.

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

    U:testuser

    P:test

    The issue is identical to an another forumn.

    https://community.Oracle.com/message/11156426

    However, I have just created this new discussion with the hope that this minor bug might be fixed in the next version of the apex.

    During this time, no workaround or suggestions are welcome.

    I tried to make the column "Remove HTML and special characters", but that did not help. I think I have a header of column with some special characters is a pretty basic requirement apex should support.

    Hello

    I guess simple fix is that not not to use the query column aliases where is /.

    But you can use ' Open/closed' as an attribute of the column header.

    Kind regards

    Jari

  • Interactive report with no column header

    Is it possible to show a column with no title (label) in an interactive report?
    I tried to delete the column header and save, but when I run the report.
    It's still there

    See you soon

    Gus

    Gus,

    Try a space character or

    Vikram

  • What is the best way to view an interactive report with 20 columns

    Hello

    I have an interactive report, given the number of columns (about 20).
    What is the best way to view this report... by default to scroll horizontally to see all the columns.
    I want to avoid horizontal scrolling.

    Thank you
    Deepak

    Hello Deepak,

    You mean apart using a smaller font size or a larger screen?
    You can think to combine / wrapping columns (so more data in a column).
    Or hide some less important data and show only on request.

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Interactive report with alternating lines - 5 APEX

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:

    < script type = "text/javascript" >

    IT IS THE INTERLACING

    function decorateDataGrids (strClass) {}

    var tables = document.getElementsByTagName ("table");

    for (var i = tables.length; i-;)) {

    If (tables.className == strClass) {}
    var gridRows = tables [i] .getElementsByTagName ("tr");
    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }
    < /script >

    < style >
    / * THIS REPLACES THE DEFAULT STYLES OF THE APEX * /.
    table.apexir_WORKSHEET_DATA tr.even td {}
    background-color: #F1F5FA! important;
    }

    table.apexir_WORKSHEET_DATA td {}
    background-color: #FFFFFF! important;
    border: 1px solid #B3B3A7! important;
    padding: 4px 8px! important;
    }
    < / style >

    And called in my link to my column ID text field via:

    "< img src =" "#IMAGE_PREFIX #edit.gif" alt = "" onload = "decorateDataGrids ('apexir_WORKSHEET_DATA'); ">

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    Thank you

    pleNn

    pleNn wrote:

    Heyho guys.

    I got a task to set alternating line colors in my interactive report.

    IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.

    I searched current debates and following this thread:

    https://community.Oracle.com/thread/912414?TSTART=0

    I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)

    I pasted the following in my page header:


    for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
    }
    }
    }

    And called in my link to my column ID text field via:

        

    If I start the page now, nothing happens.

    In the thread, we talk about bad SEO of the IR:

    "OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.

    So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »

    But I don't understand how I'm doing the right reference.

    Someone at - it an idea to get this race?

    It's all totally obsolete with respect to the 5.0 APEX where interactive reports have been completely redesigned and rebuilt.

    To complete the full version number of APEX, always indicate what theme and browser (s) / version (s) you use when asking questions of shape/layout visual layout.

    To go from rank (Zebra) when you use the universal theme distribution in interactive reports, see Re: interactive report - no line scratched?

  • Interactive report with display of the icon to set the page element

    Hi all

    I am currently using Apex 4.2.4, I have an interactive report using icons, each icon has a link to another page but a few I want to set a value in a page hidden in the same page element which is then used as a variable for a classic report.

    I have this work via link href in the icon as f? p ='|| FA.page |': 1 :'|| : app_session |': P10_ID_ITEM :'|| FA.link_name without error.

    My problem is that I wanted to put the value of the element without using a link href that I could handle the clicked icon to change the background color so that the user can have a Visual representation, where it was clicked, then using the value of the page item appears the classic report in another region with a partial refresh.

    Any help is appreciated, thanks.

    Can you provide a detailed explanation of the purpose of this report and the logic used in the report query? What are the rules to control which icons appear in the IR, what icons link to the second report on the page of IR, and icons to link to separate pages?

    For me, the report query seems too complicated and inefficient by returning the data it does, and if another level of data is added to the hierarchy or more data is added to the second level, it fails with:

    ORA-01427: einreihig subquery returns multiple rows

    I'm guessing that the intent is that the IR displays only the icons at the top level of the hierarchy and icons for posting a link to a different page when they have no descendants, or to display the related lines in the secondary report below the IR when they do. I created a new page with the report query modified to a route of tree and keep the upper level lines. It is much more effective than the original query and simplifies the logic necessary for the verification of end-nodes. Instead of generating a URL link (which violates the separation of concerns), the query returns of the discrete values that can be used to implement the HTML link in the Icon View link Custom property:

    with icon_tree as (
          select
              ic.id_icon
            , ic.icon_name
            , ic.link_name
            , nullif(connect_by_isleaf, 1) is_parent
            , level depth
          from
              icons ic
                connect by
                    prior ic.link_name = ic.id_parent
                start with
                    ic.id_parent is null)
    select
        id_icon
      , icon_name
      , link_name
      , apex_util.get_blob_file_src('P10_ICON_IMAGE', id_icon) img_src
      , nvl2(is_parent, '586', link_name) target
      , nvl2(is_parent, 'P586_ID_PARENT', null) parent_item
      , nvl2(is_parent, link_name, null) parent_id
      , :app_id app_id
      , :app_session app_session
      , :debug debug
    from
        icon_tree
    where
        depth = 1
    

    In the interactive report, Use Custom Icon Link is set to Yes, and the custom link is:

    
      
      
    #ICON_NAME#

    Public static ID icons and results are applied to the IR and the regions second report respectively for use as selectors in action dynamics and CSS. The protected value property for the page P586_ID_PARENT element must be set to No for the value can be defined by a dynamic action.

    Dynamic action with several real actions is needed to bind alternatives click behavior to the links on the icons that have descendants (i.e. where the data-parent-id attribute has a value):

    Event: Click

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a:not([data-parent-id=""])

    Real Actions

    Seq: 10

    Action: Delete the class

    Class:selected

    Selection type: jQuery Selector

    jQuery Selector:.apexir_WORKSHEET_ICONS a

    Seq: 20

    Action: Add the class

    Class:selected

    Selection type: trigger element

    Seq: 30

    Action: Set value

    Wait for result: Yes

    Type of value: Expression of JavaScript

    JavaScript expression:$(this.triggeringElement).attr('data-parent-id')

    Selection type: Agenda

    Point: P586_ID_PARENT

    Seq: 40

    Action: Discount

    Selection type: Region

    Region: results

    Seq:50

    Action: Show

    Selection type: Region

    Region: results

    Seq: 60

    Action: Cancel event

    Finally, add a style sheet to the Inline CSS property page. Initially, this hides the secondary report and select the parent clicked icon:

    #results {
      display: none;
    }
    #icons .apexir_WORKSHEET_ICONS a {
      border: 1px solid transparent;
      border-radius: 3px;
      padding: 0.8em 0 0.5em;
    }
      #icons .apexir_WORKSHEET_ICONS a.selected {
        border-color: #6a9cda;
        background-color: #bbd1ec;
        transition: 0.6s;
      }
    

    However, after all it is the question of why you use an interactive report here if you turned off all the features of the IR? A dynamic list with a custom template box seems to be more applicable?

  • Interactive report with checkbox and editable field

    Hello

    For a project I'm working on, I need to create an interactive report in Apex 3.2 with the ability to select rows and change one of the columns in the report.
    To do this, I started by adding these two fields at the request of my IR selection:

    CB apex_item. CheckBox (1, product_number)

    and

    apex_item. Text (2, QTY_TO_ORDER) QTY_TO_ORDER

    CB is the files checkbox and QTY_TO_ORDER is the editable field.

    It worked like a charm and I had my two fields in the report.
    To process the values, I've added this page process, which currently must store only the "product number" and the "QTY_TO_ORDER" fields in a table.

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    insert into mytmptable values (APEX_APPLICATION. G_F01 (i), APEX_APPLICATION. G_F02 (i));
    END LOOP;
    commit;
    end;

    However, this does not work as I want it to work. When I check the boxes of the two rows, it will store two numbers of good product lines, but it will take the field QTY_TO_ORDER two albums from the table, regardless of who those are checked. I was able to solve this problem, by adding a rownum in the query and using the rownum as the value for the checkbox control. Because I still need that the areas of product_number and qty_to order I made them two text fields.

    I changed my page process of:

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    insert into mytmptable values (APEX_APPLICATION. G_F02 (APEX_APPLICATION. G_F01 (i)),
    APEX_APPLICATION. G_F03 (APEX_APPLICATION. G_F01 (i)));
    END LOOP;
    commit;
    end;

    This seemed to solve the problem, and I have now received the good values in the table, unless I used in the report to sort... As soon as I've sorted the report in a different way from that of rownum, I had bad values in the table. The reason is of course that my insert simply selects the nth line in the table, and my rownums are not dynamic.

    I found a lot of examples on the internet using "#ROWNUM #" in the selection, which is expected to spawn a rownum in the report. It seems to work in normal report, but in interactive reports, literal values "#ROWNUM #" appears.

    Is it possible to fix this?

    Hello

    Try with 3 fields:

    CB apex_item. CheckBox (1, product_number).
    apex_item. Text (2, QTY_TO_ORDER) QTY_TO_ORDER,.
    prod_no apex_item. Hidden (3, product_number)

    The hidden field should be view as a hidden column.

    Then your process can be:

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    J in 1.APEX_APPLICATION. G_F03. Count LOOP
    IF APEX_APPLICATION. G_F01 (i) = APEX_APPLICATION. G_F03 (j)) THEN
    insert into mytmptable values (APEX_APPLICATION. G_F01 (i), APEX_APPLICATION. G_F02 (j));
    "exit";
    END IF;
    END LOOP;
    END LOOP;

  • Interactive report attributes: missing a column?

    It comes to Application Express 3.2.1.00.12

    I'm working on a report with columns drawn in a SQL statement in the definition of the region of the screen section interactive report attributes. We want to change the column names, so that they are more user-friendly, so forth that the report attributes tab, I'm looking for the name of the column, we want change, but it does not appear. Now, in the final report, the column is visible with the name of the column in the database header, so the system is aware of the column and can display it, but for some reason that we cannot see in the report attributes tab.

    Why a column would be invisible or inaccessible in the report attributes tab? There are 100 columns displayed in the attributes report: section of the column attributes. Is this the reason why I'm missing some columns; 100 is a hard column on this page limit?

    Thanks in advance for any help you can provide.

    Matthew Nagler

    Published by: user13579247 on July 20, 2011 10:45

    Published by: user13579247 on July 20, 2011 12:20

    Hello

    You are almost right place. You must click before the 100th column name, to screen where you can change column attributes.
    In the top right is buttons (Cancle, apply, < and=""> )

    Kind regards
    Jari

    Published by: jarola July 21, 2011 17:43

    He could documentation will guide you to the right screen
    http://download.Oracle.com/docs/CD/E14373_01/AppDev.32/e11838/app_comp.htm#sthref978

    >
    To access the attributes of the column:

    1. on the homepage of the workspace, click the icon of the Application Builder.

    2. Select the application.

    3. Select a page. The definition of Page appears.

    4. According to the regions, click interactive report next to the name of the region of report you want to edit.
    The page Interactive report attributes with the attributes of the column at the top of the page section is displayed.

    5. to access the column attributes page, click Edit next to the Alias column.

    >

    Published by: jarola July 21, 2011 17:44

  • 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

Maybe you are looking for

  • HP 15: power on password

    I protected by my hp 15 only for me to restart the system and the password has refused to open up the laptop and he was locked up in the BIOS. That is the message of deactivation of the system after 3 attempts 94331077

  • is it safe to delet DAT files. win xp

    as the DAT files could be almost anything is safe them in win xp

  • HP4660 - cannot print, but pilots recognize the printer and can print test page

    I just installed a HPJ4660 printer. From the driver control panel I can choose to print the Test Page and it will display a test page. I can print a Diagnostic page as well. From Microsoft Word, Mozilla Firefox, or any other program when I select Pri

  • en ciendo mi computadota windown 7 ultimate y me as windown

    en ciendo mi computadota windown 7 ultimate y me not of as windown none are original puedo hacer's raiz este problema no puedo usar office etc. to Hcer manualmente aqui yo puedo password in casa o tengo than fantasies a UN tecnico y quiero apply el a

  • Unable to suspicion (T, BROADCASTING NO) PQ_DISTRIBUTE

    Hi, trying to get rid of HASH JOIN RIGHT SEMI TAMPONNEE as a PM_CLOB_IBS_NC is the small result set and AB_CLOBS is a huge segment of 300 GB table and filter factor is 75%. I am on the 11.2.0.3 ERA currently proposed by CBO hash hash dist: (.)  1  ex