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 ;-)

Similar Messages

  • 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

  • Possible to exclude interactive report column from single row display?

    hi -- I have an interactive report that I've added a column to (in addition to the table columns that are selected).
    The added column is a link to a form for editing a single row. This column/link is in addition to the default link
    that goes to a single row view. So, a row of the report has 1) the single row view link, 2) the Edit link,
    3) the columns in the table.
    The edit link column is named "Edit" (so Edit appears above the "pencil" link icon). Problem is that when the
    user goes to the single row view, the Edit column is displayed. (I've set the label in the view to a blank space,
    and the value is null (displayed as "-" in the single row view)... but it's generally ugly, and adds that nonsensical
    line to the single row view.
    Is there any way to never display that column in the single row view, but always display it in the report?
    I've considered putting the edit link on the first column of the table... but I don't like that the link will move
    if the user changes the column order. It seems it should always be at the left of the row, like the single row view
    link.
    Thanks,
    Carol

    Please disregard this thread. I see a flaw in the design of what I was attempting to do! Creating the link for Editing as a column means the user could inadvertently not display it, or move it, or... any number of problematic scenarios.
    Thanks,
    Carol

  • Link column from an interactive report to insert a row in a tabular form

    Hi, I need your help, i'm new on APEX and i really need to make a "link column" from an "interactive report" to insert a row into a "tabular form".
    I mean that when you click the "link column" instantly create a new row in the Tabular form with the information of the linked row on the interactive report. Its something like that.
    I really appreciate your help.
    Ricardo Capuz

    Hi Ricardo,
    You can use the following code as per your requirement (this is just an example),
    (In this case IR report is in Page#1 and Tabular form is in Page#2),
    On Page#1, Create a hidden item (i.e 'P1_ID')
    IR Report query as like the below,
    select empno,
    ename,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno,
    empno "copy"
    from empUse the below JS code in Page HTML Header section,
    function f_insert_row(pSub)
        $s('P1_ID',pSub);
        doSubmit('ADD');
    Edit  Report Attribute -> copy column -> Under Column Link
    Link Text: Select your column name (i.e. #EMPNO#)
    Target: URL
    URL: javascript:f_insert_row(#EMPNO#);
    Then create a process to insert like below,
    BEGIN
    insert into emp_test (select * from emp where empno=:P1_ID);
    END;Process condition as * Request=Expression1* in Expression1 as 'ADD'.
    At last, create a branch to Page#2, Check 'include process success message' and with the same condition as * Request=Expression1* in Expression1 as 'ADD'.
    Thanks,
    Lakshmi

  • Make interactive report column nowrap

    How do I make one of the interactive report column nowrap? In the standard report, I can add "white-space:nowrap" to column formatting, but IR does not have this option.

    Hi,
    Regular reports typically use different class name and other attributes for headings/data cells.
    In some cases, the TD tag that contains the data uses the "headers" attribute containing the column name or alias. Many browsers can use this for styling.
    For example: [http://apex.oracle.com/pls/otn/f?p=267:114]
    In the region's Region Header, I have:
    &lt;style type="text/css"&gt;
    td[headers=ENAME] {background-color:red}
    #ENAME {background-color:yellow}
    &lt;/style&gt;I've used the background-color style to make it obvious, but other styling can be used if required. On this report, the column heading uses the column name/alias for the ID, so I've also used #ENAME to style that as well.
    Andy

  • Interactive report column filters to display differently than column values

    Greetings...
    We use images a lot in our interactive reports to provide a visual representation to a status, or something locked for update, or what-have-you. By default, when a user clicks the column heading of a column which contains images, the drop-down list that shows up displays the actual images, which is nice for the user to identify exactly which thing they want to filter on. The problem is when the user selects on of the options in the filtering drop-down, the resulting condition that is displayed under the interactive report search bar is the HTML code of the image. I'd like something else to display there because showing the user the HTML code is atrocious.
    I didn't think what I want is possible, but then I came across the Page Locks page within ApEx (page 4000:291 in ApEx 4.0.1) which displays a list of all the pages of an application and whether they are locked or not. It also allows you to bulk lock or bulk unlock a bunch of pages. That page uses an interactive report with a column called "Status" which contains images that represent whether the page is locked or not. When you click the "Status" column heading to filter, instead of seeing the images of an open and closed lock, you see the words "Page Locked" and "Page Unlocked." And even better... when you select on of them, the condition that is displayed to the user is very user-friendly.
    Can someone tell me how this is done so I can replicate it in my own apps?
    Shane.

    Why not create the IR using the text you require e.g. 'Lock', 'Unlock' and then use JQuery to replace the text in the report with the image you want. All the filters should then show the plain text and the report will display the image. e.g.
    http://apex.oracle.com/pls/apex/f?p=46801:1
    Here's what I did:
    Firstly make sure the IR has a region template.
    Then create a Dynamic Action with the following attributes:
    1. Advanced
    2. Event: After Refresh
    3. Selection Type: Region
    4. Region: [select the IR Region]
    5. Action: Execute JS Code
    6. Fire on page load: [checked]
    7. Code:
    $('td [headers="TEST"]').each(function(index) {
      if ($(this).text() == 'Lock') {
        $(this).empty().html('<img src="/i/htmldb/icons/locked_small.gif" alt="Lock" />');
      else {
        $(this).empty().html('<img src="/i/htmldb/icons/unlocked_small.gif" alt="Unlock" />');
    });Where TEST is the column name.
    That's it, this may also be of interest:
    http://simonhunt.blogspot.com/2011/10/adjusting-interactive-report-column.html
    I hope it helps
    Shunt

  • Passing parameter from interactive report column link to new page

    I'm very simply trying to pass the value of the column link to the where clause on the next page.
    Interactive Report on P2 has column link fid alias in sql query.
    I read somewhere to refer prefix the interactive report column with IR ??
    So I have item name P2_FID, value #FID#. Anyway, I've tried a kazillion things.
    Created a hidden item with same source value... sigh.
    Is there a syntax to refer to a report column link, rather than an item_id in a region where clause?
    Is there a simple direct way to do this?
    Thanks,
    Pamela
    -----pls/apex/f?p=163:1:2746459963336955::NO::P2_FID:119

    Thank you Varad...
    Unfortunately, I am still getting no data found. (and there IS data).
    a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
    b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
    Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
    3) Where Fishery_id = :IR_P2_FID
    Where Fishery_id = &IR_P2_FID
    Thanks again!
    Pamela

  • How to display data in interactive report column without colons (:)

    Dear Apex gurus,
    I'm a newbie and have just created an Apex application from a spreadsheet. I've created a named list of values and used it in a checkbox against a field in the default page 3 Create form.
    When I've selected multiple values in my check box in the form, the data in the interactive report appears as one line with colons separating the selected values like this: Dog:Cat:Bird
    What I would like is to have the data appear in the interactive report column as a multi-line list like this:
    Dog
    Cat
    Bird
    I can work around this by modifying the SQL code in the Region Source of the Region Definition of the report (Default Page 1 interactive report) to replace the colons with <br>
    SELECT replace("PETS_CHOSEN",':','<br>') "PETS_CHOSEN", FROM "MYAPP" Note: this doesn't format properly in the posting. I replace the colon with a html br
    This works, but seems to be a hack to me. I am guessing that I've missed a simple option setting somewhere, but I can't find it.
    The other problem with this solution is that when I export the report to Excel, what is exported is Dog<br>Cat<br>Bird, which is seems worse than colons.
    Thanks,
    - Morgan
    Edited by: mnrussel on 16-Feb-2009 04:13

    Hi Morgan,
    I think you have at least two choices:
    1 - Replace the colons with ', ' (comma and space) - sort of reasonable on screen and in an export
    2 - Create a second page that has the same report but uses the "export: csv" template. Create a manual link to this page to replace the standard Export link. When such report pages are requested, they download immediately instead of displaying. You can, therefore, use commas in this one and &lt;br&gt; tags in the on-screen report version
    Andy
    ps - To display tags in a post, use &amp;lt; for &lt; and &amp;gt; for &gt;

  • Interactive Report column visible but cannot filter

    I have a complex interactive report running on Oracle 10gR1 using Apex 3.1
    When I display the report, all the desired columns are visible. However, when I try to do a filter on a particular column it does not appear in the column filter list even though it is visible in the Select Column list. All the other report columns are available in the filter list.
    The specific column is the result of a join and a substitution within the SQL select. The problem column is 'file_nm'. I've bolded the line in the script below.
    Any suggestions?
    Thanks,
    George
    Here's the IR sql:
    WITH joined_data AS
    ( SELECT a.fdno fdno
    , a.site_abbrv_cd site
    , a.season
    , a.find_id
    , a.dig_ctgy_cd dig_ctgy
    , a.find_ctgy_cd find_ctgy
    , a.materials_qstnbl_ind matl_qstnbl
    , a.color
    , a.field_obj_type_nbr field_type_nbr
    , a.is_inscribed_ind is_inscribed
    , a.display_seq_nbr seq_nbr
    , n.img_file_nm file_nm
    , h.material_descr
    , g.general_matl_ind primary
    , g.specific_matl_ind secondary
    , i.keyword
    , i.kw_cls
    , i.lvl_nbr
    , j.kw_descr
    , b.site_subdiv_type_cd AS type
    , b.site_subdiv_nm AS nm
    , CONCAT(b.sq_h_coord, CONCAT(b.sq_v_coord,
    CONCAT(':', b.locus_nbr))) AS locus
    FROM find a
    LEFT OUTER JOIN ref_item_assoc m ON a.find_id = m.obj_id
    AND m.deflt_dsply_img_ind = 'Y'
    LEFT OUTER JOIN digital_img n ON m.ref_item_id = n.ref_item_id
    LEFT OUTER JOIN find_site_subdiv ab ON a.find_id = ab.find_id
    LEFT OUTER JOIN site_subdiv b ON ab.site_subdiv_id = b.site_subdiv_id
    LEFT OUTER JOIN keyword_assocn i ON a.find_id = i.obj_id
    LEFT OUTER JOIN keyword j ON i.keyword = j.keyword
    AND i.kw_cls = j.kw_cls
    LEFT OUTER JOIN material_find g ON a.find_id = g.find_id
    LEFT OUTER JOIN material h ON g.material_cd = h.material_cd
    SELECT site
    , find_id
    , season
    , fdno
    , matl_qstnbl
    , CASE WHEN color IS NOT NULL THEN color ELSE 'No entry' END AS color
    , CASE WHEN field_type_nbr IS NOT NULL THEN field_type_nbr ELSE 'No entry' END As Field_type_nbr
    , is_inscribed
    , seq_nbr
    *, MAX (CASE WHEN file_nm IS NOT NULL THEN 'Y' ELSE 'N' END) AS file_nm*
    , MAX (CASE WHEN type = 'AR' THEN nm ELSE 'No entry' END) AS Area
    , MAX (CASE WHEN type = 'AL' THEN nm ELSE 'No entry' END) AS A_Level
    , MAX (CASE WHEN type = 'LO' THEN locus ELSE 'No entry' END) AS Locus
    , MAX (CASE WHEN kw_cls = 'FI_CTGY' THEN kw_descr ELSE 'No entry' END) AS find_ctgy
    , MAX (CASE WHEN kw_cls = 'FI_DIGCTGY' THEN kw_descr ELSE 'No entry' END) AS dig_ctgy
    , MAX (CASE WHEN primary = 'Y' THEN material_descr END) AS Primary
    , MAX (CASE WHEN secondary = 'Y' THEN material_descr END) AS Secondary
    , MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 1) THEN keyword ELSE 'No entry' END) AS descr1
    , MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 2) THEN keyword ELSE 'No entry' END) AS descr2
    , MAX (CASE WHEN (kw_cls = 'FI_DESCR' AND lvl_nbr = 3) THEN keyword ELSE 'No entry' END) AS descr3
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 1) THEN keyword ELSE 'No entry' END) AS DescrN_1
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 2) THEN keyword ELSE 'No entry' END) AS DescrN_2
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 3) THEN keyword ELSE 'No entry' END) AS DescrN_3
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 4) THEN keyword ELSE 'No entry' END) AS DescrN_4
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 5) THEN keyword ELSE 'No entry' END) AS DescrN_5
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 6) THEN keyword ELSE 'No entry' END) AS DescrN_6
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 7) THEN keyword ELSE 'No entry' END) AS DescrN_7
    , MAX (CASE WHEN (kw_cls = 'FI_DESCRN' AND lvl_nbr = 8) THEN keyword ELSE 'No entry' END) AS DescrN_8
    , MAX (CASE WHEN (kw_cls = 'ARCH_CNTXT' AND keyword IS NOT NULL) THEN keyword ELSE 'No entry' END) as arch_cntxt
    FROM joined_data
    GROUP BY site, find_id, season, fdno, matl_qstnbl, color, field_type_nbr, is_inscribed, seq_nbr
    ORDER BY seq_nbr

    Look at the interactive report Column Attribute, Allow Users to Filter check box might not be checked for this column. Thanks.
    --Manish                                                                                                                                                                                                                                                                                       

  • 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

  • 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.

  • How get column index and row index in gridpane of javafx

    how get column index and row index in gridpane of javafx. see the code below
    Text text1 = new Text("Text 1");
    Text text2 = new Text("Text 2");
    StackPane root = new StackPane();
    GridPane gridPane = new GridPane();
    gridPane.add(text1, 0, 0);
    gridPane.add(text2, 1, 0);
    When Mouse Entered On text1 i want to get the column index and row index of GridPane
    text1.setOnMouseEntered(new EventHandler<MouseEvent>() {
                @Override
                public void handle(MouseEvent e) {
                    //want to get column index =0 and row index=0
    Please let me know.

    Hi,
    If I remember well:
    [code]
    text1.setOnMouseEntered(new EventHandler<MouseEvent>() {
                @Override
                public void handle(MouseEvent e) {
                    //want to get column index =0 and row index=0
                    System.out.println("Column: " + GridPane.getColumnIndex(text1));
    [/code]
    -- daniel

  • 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

  • Columns, cells and row headings

    My printer continues to print column headings, cells and row headings even though none of these boxes are checked under the Appleworks (6.2.9) pull down menu

    Welcome to Apple Discussions
    When an application stops working as it should, it's likely due to corrupt preferences. You can follow the steps in this user tip or use the reset function of Dale Gillard's Sidekick.

Maybe you are looking for

  • Apple Mail - HTML Signature Help

    I created a html signature that I assumed would work in Apple Mail, but when I send an email I get the images and links not showing up with blue ? appearing.  The signature looks fine in the signatures menu of my preferences. <Edited by Host>

  • DB CONNECT Datasource mapping

    Hallo Guys, I've just setup a DB connection with our BW server. I managed to view the tables and created an Infosource. Still, in the datasource I can't see any Info-objects from the source system. Any tips on this issue? Many thanks, Kurt

  • Connecting iphone 5 to WD Mybook live

    Hi Newbie here with limited tech knowledge, so looking for as simple an answer as possible. My wife has just got an iphone 5 (we've never had anything apple before). We have a western digital my book live on which we have saved all our music so I cou

  • Oracle db wrong result on subquery error

    Hi, I work with Oracle databases up to 10g and I found an error and couldn't find any documentation about it yet. Perhaps you can help me. The error is quite easy to replicate. If you run the following query adapting the parameters you should get a r

  • How can I get ACE demo license in cisco?

    Hi everyone, I would like to get ACE demo license.. minimum 50VC and 16G bandwidth to demo on my customer site. But I can't find the demo license in cisco Now I use the cisco ACE demo, I can't open service request to get license , due to demo device,