Tooltip for IR report(Apex 3.2)header column

Hello Everyone,
I need help in setting up a tooltip for report hearder in interactive reports. I tried the following methods:
1) By assigning a div title for column Deptno(This code is taken from the html source of IR report column):
<th id="DEPTNO" >
<div id="apexir_DEPTNO" onclick="gReport.controls.widget(this.id)" style="">
Deptno
<div title="Tooltip text for first div">&lt/div>
</div>&lt/th>
2) With javascript & css : I put the following line on report header edit section:
< a class="tooltip" href="#">Tooltip<span>This is the crazy little Easy Tooltip Text.</span></a>
Nothing really solved my problem. Is there any easy way of resolving the above issue?
Thanks in advance for your help.
- Parveen
Edited by: Parveen Sehrawat on Mar 14, 2012 2:58 PM

Hi,
Blog post example do not work with APEX 3.2
By default on APEX 3.2 you do not have jQuery and dynamic actions.
You can do same with APEX 3.2 if you use htmldbQuery plugin
http://sourceforge.net/projects/htmldbquery/
Integrate plugin and jQuery to APEX
Then create page process before regions
DECLARE
  l_sql VARCHAR2(32700);
BEGIN
  l_sql := '
  SELECT COLUMN_ALIAS,
    HELP_TEXT
   FROM APEX_APPLICATION_PAGE_IR_COL
  WHERE APPLICATION_ID = :APP_ID
    AND PAGE_ID = :APP_PAGE_ID
    AND HELP_TEXT IS NOT NULL
  HTP.p ('<script type="text/javascript">');
  -- Create JSON object.
  HTP.prn ('var gIrColHelp = $u_eval(''(');
  APEX_UTIL.JSON_FROM_SQL(l_sql);
  HTP.prn (')'');');
  HTP.p ('</script>');
END;Add to page HTML header
<script type="text/javascript">
$.htmldbIrReady(function(){
$.each(gIrColHelp.row,function(i,jd){
  $($x("apexir_"+jd.COLUMN_ALIAS)).parent("th").attr({"title":jd.HELP_TEXT});
</script>See working example
http://actionet.homelinux.net/htmldb/lspdemo?p=220
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Edited by: jarola on Mar 15, 2012 4:53 PM

Similar Messages

  • Tooltip for IR report header column

    Hello Everyone,
    I need help in setting up a tooltip for report hearder in interactive reports. I tried the following methods:
    1) By assigning a div title for column Deptno(This code is taken from the html source of IR report column):
    &lt;th id="DEPTNO" &gt;
    &lt;div id="apexir_DEPTNO" onclick="gReport.controls.widget(this.id)" style="text-align:center;"&gt;
    Deptno
    &lt;div title="Tooltip text for first div"&gt;&lt/div&gt;
    &lt;/div&gt;&lt/th&gt;
    2) With javascript & css : I put the following line on report header edit section:
    &lt; a class="tooltip" href="#"&gt;Tooltip&lt;span&gt;This is the crazy little Easy Tooltip Text.&lt;/span&gt;&lt;/a&gt;
    Nothing really solved my problem. Is there any easy way of resolving the above issue?
    Thanks in advance for your help.
    - Parveen

    Hi,
    This might help
    http://dbswh.webhop.net/dbswh/f?p=BLOG:READ:0::::ARTICLE:2311800346467196
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Two headers for a report - page 1 first header rest all second header

    Hi,
    I am having a requirement where i have to add a haeder1 for page 1 and header2 for rest of all the pages in a report.
    currently we are using Start body and end body tags in RTF.
    Is it possible to use Start body and end body two times, if yes steps to use that or any work around to achieve this.
    Regards,
    Hemanth

    Hi,
    You can use a sub-template, in the header, put an "if" statement that tests the first page to display the correct information.

  • ToolTip for a report

    I have a big report. and now i want to show one column as a tool tip like the one in java. this means: for every row exists a specific column, named description, which should be shown as a tool tip.
    Is there a possibility to realize this?

    Hi again,
    with the tool tip i got a little problem.
    in this report i have 205 data rows. and two rows are displayed wrong now.
    the first two columns are right. than comes the third column "hostname", which contains a link and the tooltip.
    But now - only in two rows - in the third row is the fourth colum with the link and the tooltip of the third column.
    The following columns are also moved in the column before.
    Can someone imagine why the columns moved?
    Additional info: i can edit every row in a form. if i edit one of the two rows all is correct, that means hostname = hostname and so on
    maddl

  • Results Tooltip in a report

    Hi
    When creating a report with navigation link or dynamic sort on the dashboard when you point with the mouse over the link ( not clicking it just standing on the value) it gives a "Results" tooltip in yellow box.
    Is it possible to control this tooltip and to give another value instead of "Results" or can it be removed?
    Thanks

    Hi in fact is already use a customize template for my report
    CSS in html header
    <style type="text/css">
    ul.icon-list {
      margin: 0;
      padding: 0;
      list-style: none;
    ul.icon-list li {
      display: inline-block;
      margin: 0;
      padding: 0;
      width: &P31_LABEL_WIDTH.em;
    ul.icon-list li a img {
      vertical-align: middle;
    </style>
    <!-- IE is broken -->
    <!--[if IE]>
    <style type="text/css">
    ul.icon-list li {
       display: inline;
    </style>
    <![endif]-->Icon List template for the report
    in the span balise i have (onmouseover="ToolTip('#TOOLTIP#');">#LABEL#), not appears in the balise 'code'
    <li class="dd">
      <a href="#DERIVED$01#">
        <img src="#ICON#" alt="#LABEL#" />
        <span onmouseover="ToolTip('#TOOLTIP#');">#LABEL#</span>
      </a>
    </li>
    <ul class="icon-list">
      </ul>
    <table>#PAGINATION#</table>I test the following javascript :
    function ToolTip(texte) {
    toolTip_enable(texte,this,texte);
    }When the mouse is over the field i get well the tooltip value i'd like to have but it appears in the bottom of the page always in the same area.
    could someone give me more info about 'toolTip_enable' function?
    Thx in advance.
    Celio
    Edited by: Celio on 10-Feb-2011 04:00
    Edited by: Celio on 10-Feb-2011 04:01
    Edited by: Celio on 10-Feb-2011 04:03
    Edited by: Celio on 10-Feb-2011 04:04

  • How to use a select field as a tooltip in a report

    Dear,
    i have a customize report based on the statement below
    SELECT '#WORKSPACE_IMAGES#folder.GIF' icon , lower(a.application)label,(a.appli_acronym) acronym,(ap.app_server)host
    FROM app_users ap, applications a
    where a.appli_user= ap.app_user
    and ap.app_server=:P31_LABELVALUE
    and upper(a.application) like DECODE (:P31_SEARCH, NULL,'%', UPPER ('%' || :P31_SEARCH || '%'))
    order by labelHow can i use the second field (a.appli_acronym) as tooltip in my report?
    Thx in advance.
    Celio

    Hi in fact is already use a customize template for my report
    CSS in html header
    <style type="text/css">
    ul.icon-list {
      margin: 0;
      padding: 0;
      list-style: none;
    ul.icon-list li {
      display: inline-block;
      margin: 0;
      padding: 0;
      width: &P31_LABEL_WIDTH.em;
    ul.icon-list li a img {
      vertical-align: middle;
    </style>
    <!-- IE is broken -->
    <!--[if IE]>
    <style type="text/css">
    ul.icon-list li {
       display: inline;
    </style>
    <![endif]-->Icon List template for the report
    in the span balise i have (onmouseover="ToolTip('#TOOLTIP#');">#LABEL#), not appears in the balise 'code'
    <li class="dd">
      <a href="#DERIVED$01#">
        <img src="#ICON#" alt="#LABEL#" />
        <span onmouseover="ToolTip('#TOOLTIP#');">#LABEL#</span>
      </a>
    </li>
    <ul class="icon-list">
      </ul>
    <table>#PAGINATION#</table>I test the following javascript :
    function ToolTip(texte) {
    toolTip_enable(texte,this,texte);
    }When the mouse is over the field i get well the tooltip value i'd like to have but it appears in the bottom of the page always in the same area.
    could someone give me more info about 'toolTip_enable' function?
    Thx in advance.
    Celio
    Edited by: Celio on 10-Feb-2011 04:00
    Edited by: Celio on 10-Feb-2011 04:01
    Edited by: Celio on 10-Feb-2011 04:03
    Edited by: Celio on 10-Feb-2011 04:04

  • Freeze header columns in web reports

    Hello Gurus,
       I am looking for a solution to freeze the header columns. I tried
    with the java script code from the below link.
    Forum post in BI Suite – Business Explorer: Re: Freeze Panes in web
    reports
    Re: Freeze Panes in web reports
    but did not work.   please suggest me.
    points will be awarded.
    Thanks & Regards,
    Kumar.

    no proper solution.

  • How to make tooltip for DataGridColumn

    Hi, I'm trying to get a tooltip for whenever the user mouses
    over a column header in a DataGrid. I've seen some talk about
    creating my own ItemRenderer to do this but looking at the Flex
    docs, I see that the existing DataGridItemRenderer for a
    DataGridColumn has a tooltip attribute but I have been unsuccessful
    in getting it to work. Should I in fact make my own ItemRenderer or
    is there any way to expose it in the existing DataGridItemRenderer?
    Can anyone advise what the best way to do this is? Thanks!

    We can do like this:
    l_DataGridColumn.headerRenderer=new ClassFactory(YourHeaderItemRenderer);// use custom renderer instead of the default DataGridItemRenderer
    And in you class YourHeaderItemRenderer extends DataGridItemRenderer, you can override some method:
    override public function set toolTip(value:String):void {
         //set toolTip value here:    
         toolTip= "column description";
    this one is not dynamic, so if we want to,  we can extend the DataGridColumn to add the toolTip field, and use it:
    l_DataGridColumn.headerRenderer=new ClassFactory(YourHeaderItemRenderer);// use custom renderer instead of the default DataGridItemRenderer
    l_DataGridColumn.toolTip="compute it here";
    override public function set toolTip(value:String):void {
         //set toolTip value here:    
         toolTip= (data as YourDataGridColumn).toolTip;
    Of course in this case, the dataGrid columns must use the YourDataGridColumn instead of DataGridColumn.
    All that to have a toolTip for the column, it's sad :-)

  • 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

  • How apex generate LOV values for Interactive report

    Scott,
    For interactive report, does APEX full table/index scan to generate the LOV drop down list every time user click the column header? If I set max row count to 100, does LOV values only derived from the first 100 rows that apex hits?
    If I enter SQL query in "list of value definition", will that sql get executed every time users click the column header or the result is cached?
    For standard and interactive report, does APEX parse (soft/hard) the sql statement again when user do pagination?

    Hi N.Raj,
    {thread:id=2245456}
    Yes you have to Configure BI Publisher or other.
    {thread:id=2242147}
    Hope it helps!
    Regards,
    Kiran

  • Tooltip for column header sorting

    If I enable column header sorting, is there a way to put a tooltip (HTML 'title' property, I guess) on the column header saying 'Click here to sort by this column'?
    The triangle image shows this alt text but that triangle image is shown only next to the column that is currently sorted, not all the columns.
    [My column headings come from a custom PL/SQL function, not declaratively on the Report Attributes page]
    Thanks

    See
    http://htmldb.oracle.com/pls/otn/f?p=24317:28
    The following seems to work.
    Add this javascript to the Page Attributes Header section
    <script type="text/javascript">
    function AddTooltip()
    var l_link;
    var l_hrefs=document.links;
    for (var i=0; i < l_hrefs.length; i++) {
       l_link=l_hrefs;
    if (l_link.href && l_link.href.indexOf('fsp_sort_')>=1) {
    l_link.title="This is a tooltip"
    </script>
    Then call it from the onLoad as follows
    onLoad="AddTooltip();"
    Seems to work like a charm.
    Thanks
    BTW, anyone know how to prevent the [ i ] inside a [ pre ] from being interpreted as an italic tag? I thought all text inside a PRE tag is left untouched?

  • Excel export contains a blank row for the Report Header

    Hi,
    I am getting a blank row as the first row in my SSRS report when exported to excel. I have already taken care of following things,
    1. I have hidden all of the Page Header items using Globals
    2. The position of Report Body Tablix is 0, that means there is no space between report header and Report Body.
    I have developed this Report in SSRS 2012, please let me know if any more details are required. I think even after hiding Header Items, excel creates a placeholder for page header. I can't remove header from my reports as it is needed to be published in
    pdf.
    Regards
    Mohit

    Hi Mohit,
    According to your description, you are getting a blank row as the first row in your excel report when you export the report to excel, you have hidden all the items in the Page Header by using the Globals, right?
    This blank row is for the page header, although you have hidden all the items in it, but it will still display when export report to excel. Because we can’t hidden the page Header directly. Normally, we can hidden all the items in the page Header, So in
    the design phase we can also see the blank area above the report body when preview.
    We have an alternative way by add the “SimplePageHeaders” setting in “RSReportserver.config” file, after configuration the page Header will not display in the first row of the worksheet but is rendered to the Excel page header. In Reporting Services, the
    “SimplePageHeaders” default value is “FALSE” and it indicates that the page header is rendered to the first row of the worksheet. In order to display the page header in the Header/Footer section of Excel, we need to set the “SimplePageHeaders” setting value
    to “TRUE”. I did a test on my local machine and here are my steps:
    Navigate to RSReportserver.config file: <drive:> Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\RSReportserver.config.
    Backup the RSReportserver.config file before modify it, open the RSReportserver.config file with Notepad format.
    Set the Excel rendering extension code like this:
    <Render>
    <Extension Name="EXCELOPENXML" Type="Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer,Microsoft.ReportingServices.ExcelRendering">
    <Configuration>
    <DeviceInfo>
    <SimplePageHeaders>TRUE</SimplePageHeaders>
    </DeviceInfo>
    </Configuration>
    </Extension>
    </Render>
      4.  Save the RSReportserver.config file.
    Note: Changing the rendering extension parameters only affects rendering operations on the Report Server.
    When I access to Report Manager and export the report(includes a page header) to Excel format, the blank row will disappear now.
    Similar thread for your reference:
    SimplePageHeader property in SSRS 2008 not working
    Removing 2 top blank rows when export to excel in ssrs 2008
    r2 report
    You can find more detail in these articles about the page header and page footer:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

  • Header Column for Report format

    Hi All,
                                                    Sales
    Col 1     Col2     Col3     Col4     Col5     Col6
    489     81     38     608          608
    408     77          484          484
    18     9          27     3     30
    300     27     32     358          358
    We want Report in this Format. Columns (Col1 ,Col 2,Col 3...) Should be displayed under one header column "Sales" .
    How can we achiev this in BW.
    Regards,
    Ali.

    Hi,
    Create a Formula with SALES and under that you drap and drop all remaining Keyfigures, but you should assign some values for Sales fomrmula.
    i.e. one level below. Chaild Node.
    Sales
      |--Kfig1
      |--Kfig1
    Thanks
    Reddy
    Edited by: Surendra Reddy on Dec 7, 2009 9:26 AM

  • APEX Print Attributes for Interactive Reports versus Reports

    The Print Attirbutes tab for Interactive Reports does not have the Enable Report Printing option that the same tab does for Reports. The Enable Reports option when set to Yes" puts a print link on the Reports page. Since, the option doesn't appear for under the Print Attributes tab for Interactive Reports, how can I get a print link appear on an Interactive Report page?

    Hi,
    Those links are visible to end user in action menu -> Download
    Br, Jari

  • Placing a parameter for a report in header when no XML data returned

    Good Afternoon ~
    I have a request from a user that requires the need to place a reports parameters in the header of the report even though  the report may return no data.  Example of this would be a missing time card report. 
    I have only seen the use of this when there is data returned.  If the report returns no data there is no XML.  
    I have no idea how I would accomplish this.  Any suggestions I can get on this is much appreciated.  How would I capture the parameter used?
    Thank you much!
    G

    Apparently I am not notified of these updates.    Sorry this took me a bit to get to you. 
    The report data is using an Oracle Report to generate the XML.  All other formatting is done in BI  Publisher.

Maybe you are looking for