SQL Report column headings

How to make the column heading bold / apply color to the column heading when Heading type used is PL/SQL ?
Sanjay

Lavanya,
The report column attributes page has a radiogroup of column heading types. One lets you specify a PL/SQL function that returns the headings.
Scott

Similar Messages

  • Javascript in report column headings?

    Hello,
    I'm wondering if it's possible to be able to use Javascript in report column headings, so that when the user hovers the mouse over the column heading name in the report, a pop-up appears with an explanation of what that column is. Usually I use Javascript on page items, but in this case, the column headings aren't page items, they are derived from the SELECT statement that makes the report. Is this possible using Javascript? Or, is there something I'm not aware of that Apex can do, such as the "Optional Label with Help" but for column heading names?
    Thank you,
    Laura

    Hello Laura,
    Each report column headings has an ID equal to the column name/alias as it appears in your select statement. You can use this ID to directly access the column header DOM node, just as you are doing with a page item.
    In your case, you can use the ‘title’ attribute to get what you want. If your column ID is ‘COL1’, you can use something like this in the footer of your report region:
    $x(‘COL1’).title = ‘Help Text’;Of course, having an ID allows you to use any JavaScript code you need.
    Hope this helps,
    Arie.

  • Report column headings and title tag

    Is there a way to add a title tag (similar to the alt tag for images) to my report column headings, so that when I hover over the column headings I get a description of the column?

    I found a solution here:
    Title= Attribute for report column headings

  • Title= Attribute for report column headings

    Hi All,
    Is there anywhere we can specify the "title=" attribute for each of the report column headings. Unfortunately we are on Apex 2.0
    This is to facilitate the use of screen readers, and I can see nowhere this can be entered.
    We can use an anchor tag in the heading field of the column attributes which is fine such as <a title="test indicator indicator">TST </a>
    But if we apply a sort to this field, the Sort doesn't work.
    Thanks,
    Noel

    Hi Noel,
    You need to change the column heading to wrap the text in a tag that has the title attribute.
    For example, if you had a column called Name, change this to &lt;span title="Name"&gt;Name&lt;/span&gt;.
    Column sorting will still work.
    Regards
    Andy

  • Tooltips for report column headings

    Hello,
    I have a normal report, and I wanted to have either a tooltip or a cluetip for the report column headings. Can anyone please help me with this issue.
    thanks,
    orton

    Hi!
    One way would be to adjust the report template. But this is quite difficult if you haven't done this before.
    Maybe this forum post helps: Re: oracle apex and extjs grid table
    Hmm on the other side why don't you just add some html tags inside the report column headers? I would suggest this example: http://apex.oracle.com/pls/otn/f?p=25110:5
    &lt;span TITLE="header=[Help] body=[Helptext]";>YOUR COLUMN HEADER&lt;/span>Best regards,
    Tobias

  • Report Column Headings based on SQL Query

    Hi ,
    I am working on creating a SQL query based report. However, my column headers for this report are stored in a table and hence, I need the column headers to be based on a sql query also.
    Can you give me some pointers on how to do this ?
    Thanks!
    Lavanya

    Lavanya,
    The report column attributes page has a radiogroup of column heading types. One lets you specify a PL/SQL function that returns the headings.
    Scott

  • Including item names in report column headings

    I have a report where I want to use page items in the column headings. Trying to define these using (for example) &P1_ITEM. in the report definition / custom heading does not seem to work. I can define a simple PL/SQL function to return the heading, but I have many columns and it will mean that I'll have to define a function for each column name which does not seem v elegant. Am I missing something obvious?
    Thanks Simon

    Hi Simon
    Column Attributes
    Headings Type:  Column Names  Column Names (InitCap)  Custom  PL/SQL  None choose PL/SQL
    Function returning colon delimited headings:
    DECLARE
    vHEADINGS VARCHAR2(1000);
    BEGIN
    vHEADINGS := 'NAME:SURNAME:CODE:CELL_NR:&P1_CELL_1.:&P1_CELL_2.:&P1_CELL_3.:' || :XXX || ':' || :YYY || ':' || :ZZZZ || :A || ':' || :B || ':' || :C;
    RETURN vHEADINGS;
    END;Regards
    Mel

  • SQL Report columns formatting

    Hi Everyone,
    I've got a basic report with a column that is a concatenation of other columns (used for break formatting), and I want to give the effect that there are still separate 'columns' in the concatenation. I've tried using CHR(9) and RPAD in the SQL query to add the 'whitespace' but as soon as Apex gets hold of it, the extra spaces are removed and I'm left with only a single space.
    It does the same thing when the "Display As" value is changed to either "standard report column", or any of the "Display as text" types.
    Any ideas? This is apex 4.0.0
    Thanks!

    I've got a basic report with a column that is a concatenation of other columns (used for break formatting), and I want to give the effect that there are still separate 'columns' in the concatenation. I've tried using CHR(9) and RPAD in the SQL query to add the 'whitespace' but as soon as Apex gets hold of it, when the browser renders the output in accordance with the HTML spec the extra spaces are removed and I'm left with only a single space.The HTML specification instructs user agents to collapse white space characters, so spaces and ASCII tabs in options will be treated as a single space.
    In a standard report use
    <li><tt>white-space: pre</tt> in the CSS Style property for a CSS approach
    or
    <li>The HTML Expression property for a <tt>&lt;pre&gt;</tt> HTML wrapper (ensuring the Display Text As column attribute is Standard Report Column rather than the default Display as Text (escape special characters) ):
    <pre>#COLUMN_NAME#</pre>Better still, create a custom report template using suitable mark-up so that there are "separate columns" in the report.

  • Changing Sql Report Column width

    Hi,
    I am using Apex 4.1
    Can anyone tell me how we can change the width of Sql report. For IR report we can do it using the following code,
    <style>
    table.apexir_WORKSHEET_DATA td[headers="Col Name"] {
    _width: 500px;
    min-width: 400px;</style>
    Please help me with Sql Report.
    Thanks,
    Shoaib
    Edited by: Shoaib581 on Jan 21, 2013 3:05 AM

    Shoaib581 wrote:
    Hi,
    I am using Apex 4.1
    Can anyone tell me how we can change the width of Sql report. For IR report we can do it using the following code,Always post code using <tt>\...\</tt> tags:
    <style>
    table.apexir_WORKSHEET_DATA td[headers="Col Name"] {
    _width: 500px;
    min-width: 400px;</style>
    Please help me with Sql Report.Either use the same CSS approach by adding a static region ID to the report region and adding the style sheet to the page HTML Header:
    <style>
    #static-region-id td[headers="COL_ALIAS"] {
      width: 400px;
    <style>OR
    Use the Column Definition > Column Width column attribute to set the width in pixels (note that this value is just the number of pixels "400", no unit is specified as in CSS).
    OR
    Use the Column Formatting > CSS Class column attribute to set the width of the column contents:
    display: block; width: 400px;

  • SQL report - column wrapping

    I've created quite a wide SQL report (over 20 columns) and for some reason the data in some columns is being wrapped which looks quite scruffy. Is there any way to set all the column widths to automatically expand to accommodate the contents?

    Hi ,
    You can make a copy of the report template that you are using and modify it to unwrap columns. To do so go to the report page and on right hand side under Templates you would see Report template name that you are currently referencing. click on the copy icon next to the template and give it a new name. Now edit the new template and add no wrap to the Column template 1 section.
    sample code
    <td headers="#COLUMN_HEADER_NAME#" #ALIGNMENT# class="t20data" nowrap>#COLUMN_VALUE#</td>Now all you have to do is reference this template in your report. Click on report and under Layout and Pagination -> Report Template , select new template from drop down list and click on apply changes.
    Hope this helps.
    Thanks,
    Manish

  • Clasical Report column headings display

    Hi ABAPERS
        iam working on clasical report. in that i have to display 16 field headings.
    when executing the report, the column headers should be frozen at the top so that when the user is scrolling down, they can see what the column title is.
    how can i over come this problem.

    Hi,
    you mean the column headings should be displayed even though
    the user scrolls down the output.
    For classical reports, according to me it is not possible.
    We will be using the write statement to display the records,
    so it is static for the report.
    If you want the output what you are expecting then go for ALV's.
    Regards,
    Venkatesh

  • Interactive Report Column Headings and Row Height

    I am using the div style="width:350px;" method to control the width of columns in various interactive reports. That works fine except for the following:
    1. When creating filters, the <div...> stuff shows up along with the actual column heading, thus confusing some end users
    2. Even when I uncheck the "Use same text for single row view" checkbox and then provide a simple single row view label, the <div> stuff still shows up on the single row view
    Does anyone have a better solution?
    Also, does anyone know of a way to limit the row height within an interactive report row? I have some columns of data that contain a large amount of HTML data and I'd like to be able to limit the number of rows that show on the report.
    Is Oracle planning to provide some better control over the Interactive Report columns in another version? The Interactive Report is such a huge improvement in usability in APEX - it would be great to take it to another level by providing some better control over column width and row height.
    Edited by: DaleB on Jun 18, 2009 8:54 AM
    Edited by: DaleB on Jun 18, 2009 8:54 AM

    Dale,
    Unfortunately we don't have much we can use to do what you would like. I would have said it's impossible until version 4 but you could actually do something similar to what Roel has done. His trick is in the edit button. He changed the edit button to use an "onload" call to a JavaScript process. You could do the same but call a process that goes across the rows and styles each column. Now because you don't have a way to identify the column (can't use the order because the end user could change it) you'll have to write the code to look at the top row first and then style the appropriate column. As far as I can tell, this would be quite difficult and inefficient. Having said that if you need it that bad and would like some help with it, put up an example application on apex.oracle.com and provide the workspace/username/password and I'll take a look.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to update the sql report column create using Htmldb_item

    Hi,
    I have a updateable sql report,which consist of htmldb_item like
    htmldb_item.hidden(1,a.id) "ID",
    htmldb_item.display_and_save(2,a.question,2,100) "Question",
    htmldb_item.text(3,b.answer,20,1000) "Answer"
    now in the report 'answer' coloumn i have made updateable,but my question is how to create the valdiation on the answer coloumn of the report.
    As i been to page source and for all the record of the answer coloumn the array id is f03, so how to identify the particular 'answer' on the report and give the validation for them...
    Thanks

    Validations in Apex are designed to operate upon individual page items that you have defined on the page, not tabular form elements.
    Search the forum for other techniques you can use
    http://forums.oracle.com/forums/search.jspa?objID=f137&q=tabular+form+validate+declaratively+javascript

  • BUG: Dynamic report column headings not working with some templates

    Using Apex 2.0, we are trying to create a vertical report with dynamic labels like &P26_REF_RECEIVED_DATE_L. based on items populated by PL/SQL.
    This seems to work fine for some templates but not for others. With a horizontal report template we get output like:
    <th class="t4ReportHeader" id="REF_RECEIVED_DATE">Received</th>
    <td  headers="Received" class="t4data">29-MAR-2007</td>But with the vertical template we get:
    <th>&P26_REF_RECEIVED_DATE_L.</th><td>29-MAR-2007</td>Also, if we use "default: vertical report, look 1" we see "&P26_REF_RECEIVED_DATE_L." in the output, but with "default: vertical report, look 2" we see "Received".
    Message was edited by:
    Tony Andrews

    have you checked that your report template has a
    valid value for the "Column Heading Template"
    property?This template has nothing in the "Column Heading Template" because it is designed to show the data in this form:
    Heading1 - Value1
    Heading2 - Value2
    Heading3 - Value3
    Hence both the heading and the data appear in the "Column Template 1" property as follows:
    <tr><th class="t3header">#COLUMN_HEADER#</th><td class="t3data">#COLUMN_VALUE#</td></tr>
    Maybe it is an Apex limitation that the #COLUMN_HEADER# value can't be accessed from this subtemplate? Yet somehow it works with "default: vertical report, look 2" (which I realise isn't a template as such).

  • Underline behavior in sortable report column headings

    Hi -- I have a report that uses generic columns, all of which have been given custom names. All columns
    except the edit link are sortable.
    When the report is first displayed, all column headers are underlined. The first column happens to be
    the one used for initial, default sorting. When another column is chosen as the sort-by column,
    the underline goes away for the first column. This happens every time a new column is sorted-by --
    the underline goes away on the previous sort column. If a column is re-chosen to sort by, the
    underline reappears.
    Is this behavior intentional? Is there a way to change it so the underlines don't disappear?
    Thanks,
    Carol

    Hi Carol,
    I have same sort of problem with my report when I have imported the page from another application. I have fixed it, what i did - Click on edit page >> Click on the report name under the regions >> cut or copy report query and leave the query section blank >> save the page run it. So it will not display anything as you do not have any query there. Go to Edit page again >> click on the report name >> paste the query into the query section and save the page. Run the application again, it should work.
    I guess when you have generic column selected the default format get corrupt and does some weird behavior.
    Hope this will help.
    Thanks,
    M Tajuddin
    http://tajuddin.whitepagesbd.com

Maybe you are looking for

  • Printing in powerpoint on a mac

    I have a HP Photosmart 5520 and use a MAC and print in duplex from email, safari, word - all successfully. I cannot see where to turn off duplex in Powerpoint as I do not want to use it there. Any suggestions, please

  • Problem with Seeburger Message splitter

    I'm doing a Inbound 850 from VAN...but for now I have a sample file which has 2 orders in it and this is the error I get: Information Channel fromFile: Send binary file  "/usr/sap/KPX/COMM/EDI/out_split/850_E2X_1.dat", size 2918 with QoS EO. Informat

  • Webservice for proxy to SOAP adapter interface

    Hi Experts, we have scenario Proxy to SOAP for this inteface is it possible to provide the webservice from PI side. if yes please let me know the steps. i know the process how to provide the webservice when the SOAP adapter at sender side. 1) through

  • Imac 20" Intel Chime that's repeat but NO video or boot up

    Hi, I have an Imac 20" intel and have the follwoing problem. When I boot my system, what i will get is the chime sound but this wil loop forever but further nothing. I removed the cover of it to check the Leds and the I get 3 leds. When I remove the

  • Cannot shoot video ever since iOS update

    Ever since I updated my mini ipad with the iOS I can't shoot a video