Report column header

Hi frinds.
How can I put report column header in two rows?
ex.
Family common services
1
2
1
I want it to be like this
Family
common services
1
2
1
thanks

Alaakh,
Just add an HTML <br/> in your 'Report Attributes > Column Attributes > Header'.
So this should be:
Family<br/>common services
Anthony
http://anthonyrayner.blogspot.com

Similar Messages

  • How to aviod html tags from Report column heading while export to csv

    Hi All,
    How to aviod html tags from Report column heading while export to excel.
    We used like Employee<br> Department in column heading, but the problem is the <br> tag also exporting into csv file.
    If any column data 3/2009 formatt the it will exporting as marh 2009.
    Please help on this.
    Thanks,
    Nr
    Edited by: pnr on Jul 5, 2011 5:00 AM

    Hi Nr
    Here is how I approached this problem.
    Go to report attributes tab
    under column attributes check PLSQL radio button.
    Create a function to return the heading of your report as shown below in your database.
    create function get_heading return clob as
    v_request VARCHAR2(20) := V('REQUEST');
    v_col_heading CLOB;
    begin
    IF INSTR(v_request,'FLOW_EXCEL_OUTPUT',1) > 0 THEN
    v_col_heading := 'Employee Number:Employee Name';
    ELSE
    v_col_heading := 'Employee breaktag Number:Employee break tag Name';
    END IF;
    return v_col_heading;
    end;
    Type the function below under ( Function returning colon delimited headings:) as follows.
    return get_heading;
    Similarly for data base it on PLSQL function body returning SQL and follow the same approach as headings.
    Hope this helps.
    Thanks
    Sukarna
    Edited by: user513776 on Jul 5, 2011 2:24 PM
    Edited by: user513776 on Jul 5, 2011 2:27 PM

  • Report Column Heading Alignment - Center Not Working Correctly

    I am using Apex 2.1 (XE) and now have an application with about 30 pages. I've noticed that some of my reports which have columns with a heading alignment of "center" are not always centering if they have columns that align to the left or right included before them. I looked at the generated HTML and it shows that align="LEFT" or align="RIGHT" is being generated in the source even when the column heading is set to center in the designer. It appears that if a field higher on the list says to align the column heading left or right, then that is what the following columns are going to do also if they are set to center. So column heading left and right works great, and center works only if all the columns are set to center.
    My question: Is this a known bug? Is it something that can be scheduled for a fix at some point in the future?
    Luckily the column data itself obeys the column alignment, so this is strictly a cosmetic problem with the column headings.
    Thanks,
    Jim

    Hello,
    What theme are you using?
    Try setting them with a css decalration. Instead of align="right" put this is in the heading attribute
    style="text-align:right;" or style="text-align:left;"
    Carl

  • Interactive report – column heading in multiple rows

    I am using interactive report. My question to the expert/guru&rsquo;s is: - How do I change column heading into multiple row with text wrap.
    For example:- My column heading is
    Is Employee Trained ? -------&gt; (single row display)
    I want to make it display like
    Is Employee
    Trained ? ------&gt; (Multi row display)
    Sagar

    Hi,
    What you could do is, disable the download csv function from IR (Interactive Report Attributes--> Search Bar-- Uncheck Download) and in the region header create a link and redirect it to another page which will have the csv report output.
    e.g. <a href="#"  onclick="javascript:redirect('f?p=&APP_ID.:3:&SESSION.::&DEBUG.:3::');"" >Download Report </a>
    Here I am redirecting the link to Page 3. On Page 3 create a sql report with the same query and make report template to csv. Thanks,
    Manish

  • Interactive Report Column Heading Filters using LIKE instead of =

    Still on APEX 3.1
    I have an inter active report with a column Like Below
    select case when trunc(c.resp_contact_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_contact_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_green.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    when trunc(c.resp_attempt_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_attempt_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_yellow.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    else '<img src="/i/contact_1_red.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">' end as Contact,
    This column header has an User defined LOV
    select '%green%' d,
    '<img src="/i/contact_2_green.png">' r from dual
    Union select '%red%' d,
    '<img src="/i/contact_1_red.png">' r from dual
    union select '%yellow%' d,
    '<img src="/i/contact_2_yellow.png">' r from dual
    When user select my Red image from the column header link
    the filter generates where contact = '%red%' This fails
    Is there a way to generate the filter contact like '%red%' without the user having to change it to like.
    Is this possible in 4.0?

    I am assuming Because of the crickets either I am doing my SQL to incorrectly and there is a better way to return get a popup with a changing image into an interactive report
    or
    There is no way to do what I am trying

  • Wrap report column header when using heading type : Column Names

    The headers for my report is actual data from the database. In order to get it to work I'm using aliases on my columns that correspond to the header name that I want. However, I have been unable to get the headers to wrap. I have tried using <br> and chr(10) but it seems to be stripping them out since it's a column alias. Any ideas? Region source is listed below...r1.fc_desc is the column header that I need to have wrapped.
    declare
    v_sql varchar2(4000);
    v_sql2 varchar2(4000);
    cursor c1 is select distinct fc_code, fc_desc from
    [email protected] where FG_ID=v('G_FINANCIAL_GROUP') order by fc_desc;
    begin
    for r1 in c1 loop
    if v_sql is null then
    v_sql:='select to_char(trans_week_end_thur,''mm/dd/yyyy'') as "Week Ending",sum(decode(fc_code,'''||r1.fc_code||''',payments,0)) as "'||r1.fc_desc||'"';
    v_sql2:='select ''Average:'' as "WeekEnding", avg(sum(decode(fc_code,'''||r1.fc_code||''',payments,0))) as "'||r1.fc_desc||'"';
    else v_sql:=v_sql||' ,sum(decode(fc_code,'''||r1.fc_code||''',payments,0)) as "'||r1.fc_desc||'"';
    v_sql2:=v_sql2||' ,avg(sum(decode(fc_code,'''||r1.fc_code||''',payments,0))) as "'||r1.fc_desc||'"';
    end if;
    end loop;
    if v_sql is null then
    v_sql := 'select ''No records found for weekly analysis by insurance class for this financial group '' as " " from dual;';
    else
    v_sql:= v_sql||' from [email protected] where fg_id=:G_FINANCIAL_GROUP group by trans_week_end_thur';
    v_sql2:=v_sql2||' from [email protected] where fg_id=:G_FINANCIAL_GROUP group by trans_week_end_thur;';
    v_sql:=v_sql||' union '||v_sql2;
    end if;
    return v_sql;
    end;

    I've resorted to creating a separate function to return a colon-separated list of column names, in which you can include a br tag or whatever, until I get a chance to research this more thoroughly.
    I thought it would just be a case of asking APEX not to strip the HTML, but it's clearly not as simple as that.
    Regards,
    John.

  • How display costom report column heading

    Hi,
    I am having report region with different columns, in that one column heading needs to be start with lower case like "iST Status" but always it is showing "IST Status".
    Can any one help me how can i achieve this.
    Thanks and regards,
    Ibrahim Sayyed.

    >
    Update your forum profile with a real handle instead of "995226".
    I am having report region with different columns, in that one column heading needs to be start with lower case like "iST Status" but always it is showing "IST Status".This has been reported before. See +{thread:id=1022033}+
    Add this style sheet to the page HTML Header (or use your preferred CSS override method):
    <style>
    th.t13ReportHeader {
      text-transform: none;
    </style>If you're not using theme 13, modify the selector accordingly.
    Can any one help me how can i achieve this.Help us to help you. When you have a problem you should provide as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • In Alv_list report column heading in two columns?

    In ALV_List if one the column heading is say for example "Material Description", if i want to display it as "Material" and "Description" below the "Material". Is it possible? if so how?
    For Example:
    Material
    Description
    Thanks in advance.
    Maqsood Ahmed Khan
    Saudia Arab
    [email protected]

    Hi
    No! It's not possible, but you can try to create an your own heading in TOP-OF-PAGE to write the first heading line, the second one will be the std line .
    Max

  • Remove interactive report column heading underline

    Dear
    while developing the interactive report, all the column headings are underline in default. it is possible to just remove the underline and all the remaining functionality (sorting and braking) remain the same.
    i have also tried
    <style type="text/css">
    .apexir_WORKSHEET_DATA th div {text-decoration:none}
    </style>
    in the page HTML header, but got no result.
    kindly guide.
    Regards,
    Muhammad Usman

    Hi,
    Try add to page HTML header
    &lt;style type="text/css">
    table.apexir_WORKSHEET_DATA th div {text-decoration:none!important}
    &lt;/style>Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Adding Date to Column Header

    Hi
    I'm having some issues getting a date into a column header for a tab report I am creating.
    this thread
    Re: sysdate in region header
    suggested using a hidden item and having a pl/sql function body and including the item in the header.
    So I set the Column title up with "Outdoors <br> &P1120_DISPLAY_DATE"
    In the item source I set
    begin
    :P1120_DISPLAY_DATE := sysdate;
    end;
    However I end up with a syntax error message when the page starts to draw ...
    ORA-06550: line 1, column 27: PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
         Error      ERR-1020 Error in PLSQL item processing (function).
    When I just use sysdate as a test method ( no additional pl/sql) the error goes but the item does not appear to be set. In the Column title I get the item name not the value.
    I wanted to have the column set to Outdoors <br> 12-Mar-05
    Appreciate some guidance on this one.
    Stephen

    Thanks Denes
    That sorts the item out but I can't get it into the column header.
    My item is called P1120_Display_date.
    I have the report column header set to Custom , and the code in the header is
    Col1 < b r > &P1120_Display_date
    and apart for doing the line break thats how it displays. I'm sure its possible I just can't seem to get it.
    Cheers
    Stephen
    Message was edited by:
    StephenP

  • How to render special characters (math symbols) in report column headers

    I want to enter the following characters in a report column heading:   ng &frasl; &mu;l
    In text items they render correctly when I use the following codes:
      ng &frasl; &mu;lbut in column headings they render as
    Ng / Ml
    Anyone know a fix?
    thanks in advance
    PaulP

    Paul,
    I used it in my Report i don't see any problem, you might want to check it again
    i have seen using &Mu; gives 'M'.
    so make sure you are using lowercase 'm'
    another solution: use this "ng / µl" directly on to the column or to the header it works,
    if you get anything like this "¿", then copy the "µ" symbol from Microsoft Word and paste it, i did the same :p.
    Thanks
    Kumar

  • Change Column Heading in ALV Report

    Hi,
    I have developed a ALV Report, showing correct output.
    Problem is that Column Heading is not showing correct...means it is showing as per field name. But We want to change as per our understand. i.e. One column heading is like Unrestricted Stock but we want Unrestricted Stock...(BILF is an indicator)..
    We have write in the code..
    FORM build_fieldcat10.
      CLEAR fieldcat_ln.
      ADD 1 TO col_pos.
      fieldcat_ln-ref_tabname = 'MARD'.
      fieldcat_ln-fieldname   = 'LABST'.
      fieldcat_ln-seltext_m   = 'BILF Unrest.Stock'.
      fieldcat_ln-key         = space.
      fieldcat_ln-do_sum      = space.
      fieldcat_ln-col_pos     = col_pos.
      fieldcat_ln-no_out      = space.
      fieldcat_ln-qfieldname  = space.
      fieldcat_ln-hotspot     = space.
      APPEND fieldcat_ln TO fieldcat.
    ENDFORM.                    " BUILD_FIELDCAT1
    But after change the selection text...not showing correct text..How can i change Column heading???
    Please help me..

    Thanks a lot dear..
    My problem resolved by using SCRTEXT_L.

  • No column heading in second page in alv report when save in excel file

    Hi Expert,
    How can i remove the column header from Alv report when program execute in background and save in excel file right now
    its comming column header in each page. Client dont want header column in excel from second page. is this possible?
    with regards
    chandan_viji

    Hi Ravi,
    thanks for reply i have solved this problm throug line count and NEW-PAGE LINE COUNT 10000 bcoz client want output in excel file only one page header.
    with regards
    chandan_viji

  • Dynamic Column Heading on Interactive Report

    I have my column headings for my table columns stored in the database. I want the Interactive Report to use these heading (instead of static headings). Is there a way to have the columns set from the database(with a function/procedure)?

    you can replace the column headings with &PAGE_ITEM.
    obviously one page item per column header
    then use the database to populate the items with your column headings.
    craig
    [http://www.oracleapplicationexpress.com]

  • How to Link column header only in classic Report in APEX 4.1

    Hello Everybody,
    Probably there is a simpler way to do this, but I am not sure. I want a link on column header in Report on a specific column. The link will take me to new region or a page.
    How to achieve this in APEX 4.1
    Theme : Blue 2
    Database 11g
    I see there is a column link opiton, but that creates link for every row in that column on a specific icon, I just want link on a title of the column in Classic Report.
    For Example,
    if there are two columns Name and Client ID, which has 10 records to display on a classic report. I wan the link on Client ID on header only not on the records.
    Can anybody provide some simple solution for this.
    Thanks,
    --CP
    Edited by: cpora007 on Jun 22, 2012 10:38 AM

    Hello,
    I didn't understand, what do you mean by default it is going to sort popup. I have a classic report based on SQL, which generates a report with static header, there is no sort or any other link on that.
    I added a link in column header name with an anchor. It works and takes to the new page.
    But it is not a proper solution. A solution based on Jquery dynamic action is preferable. Also the preferred option is that the link opens a hidden region of the same page at the same location of the report and the report gets hidden. after the procession on the form region and submitting the update/ insert process. the report region shows up with the change data.
    Moving on to new page is 2nd option, if the first do not work.
    In the JavaScript, put: apex.submit("GO_TO_MY_OTHER_PAGE");
    On the page, create a Branch to the Second page. Set the condition to Request=Expression 1. Set the request to "GO_TO_MY_OTHER_PAGE"
    On which page I need to create a branch?, Is it on the report page or the form page.
    Thanks a lot for the response. I appreciate your kind efforts in this regard.
    --CP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for