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:
<style type="text/css">
td[headers=ENAME] {background-color:red}
#ENAME {background-color:yellow}
</style>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

Similar Messages

  • Make interactive report column uppercase

    Hi All,
    I have an interactive report in which I have a field which has a column link defined on it. Clicking this link allows me to go to the next interactive report.
    I would like to display the data in this column as UPPERCASE. I have tried modifying the report query by applying the
    UPPER function to the column. (i.e. select column a, column b, UPPER (column c)) but it broke the links in my report. I had to recreate this link manually after and was afraid i had broken my application. I was able to fix this.
    I know that this can be done through modifying the CSS template for the report region, but my HTML and CSS skills are pretty basic. So far, the only way i am able to make the data in this column appear uppercase is to have all the data in this column uppercase in the database table itself. If data is entered in this column in lowercase, the problem will resurface and my data will not appear as uppercase.
    Any suggestions as to what modification i would have to make and where in order to make this column display its data UPPERCASE?
    Thanks,
    Tim

    In general, changing the query shouldn't break things. Perhaps Apex saw the modification as changing the column name. A quick check would be to try SQL like:
    select column1, column2, Upper(column3) as column3, ...If that doesn't work, we may need more info on how this report is set up and how the links are working.

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

  • 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                                                                                                                                                                                                                                                                                       

  • Background image on Interactive report column

    Hi,
    I have had a request from a customer with regards to displaying a background image behind a column on an interactive report.
    The interactive report is used to show notes added for an individual in the application.
    They want to display a note image behind the text to make the note stand out better.
    Is it possible to add a background image to the each cell in the interactive report
    Thanks
    Kevin
    Edited by: Cod'ead on Nov 30, 2009 3:43 PM

    Take a look at this list of threads (You may find something that helps..) : Oracle Application Express (APEX)
    Thank you,
    Tony Miller
    Webster, TX

  • Interactive Report Column Width adjustable?

    I am using the interactive reports in 3.1.2 and love them. That said, I have a question/problem. I have a column in my report that is essentially comments. It often contains hundreds of bytes of text per row of data. When I use the interactive report I find no where that I can define a default column width or number of report rows to display. So, when I run the report, the column with the comments defaults to a column width of about 25 characters and this causes it to display many html rows for this report row and makes the report very ugly.
    Does anyone know if there is a way to redefine a column in an interactive report to prevent this?

    Scott,
    Using FOP.
    Standard reports PDF can resize columns.
    Interactive report does not. Additionally, the page size does not work the same as the regular reports. Moving between landscape and portrait changes the size of the height and width.
    I assume there are several problems.
    1. The report does not resize horizontally. I will have to create a second report to see if I can duplicate the issue.
    2. The Print page of the report region does not have the same fields as the regular reports. I am not sure why or how to overcome the lack of being able to resize columns, etc.
    3. The functionality on the page does not seem to all work. At least not the same way as the regular reports. Changing paper size and orientation are two examples I have verified.
    4. Can't select a template. How can a different XSL-FO template be used?
    I am going to try and push it to Word.
    Sam
    Edited by: slavanaway on Mar 26, 2009 1:13 PM

  • 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 with an external link -  Sort, chart functions

    interesting.... the message text did not make it into the post (twice). But edit seems to work.
    Our problem....
    We have an interactive report with a column that in some cases will contain information allowing us to build a link. We have updated the report query to return the data tagged with the <a href..... on rows that can be links. The links are displayed and function correctly. However, if we click on the column header so we do something like sort, the page hangs. If we try to create a report using this column we get an error.
    We have also tried marking the column as a link in the IR definition. With that design, the sort and reporting isn't an issue, but all the rows are links, which is not what we need.
    Does anyone have any ideas on how to solve this problem?
    Thanks, Nann
    Edited by: Nann on Feb 6, 2010 11:07 AM

    Hi Peter,
    Thanks for your suggestion. We ended up with a slight variation in the design that allowed us to mark the column as a link.
    Basically we have a column just for the link.
    In our query we now have 2 columns. One that builds the url, the other the text we want displayed as a link.
    If that row should not have a link in it the query returns null for both columns.
    We only display the link column in the report.
    We use the url column in the link definition .
    We've disabled the sort and other functions on this column.
    All works as we wanted.
    Thanks
    Nann

  • Mouseover / hover functionlity on Interactive Report  column

    Hi,
    I have an Interactive Report and having 2 columns say BATCH_NUM, BATCH_DESC.
    only BATCH_NUM is displayed on the IR.
    I want something like mouseover / hover functionlity on BATCH_NUM field, so that if user is over BATCH_NUM field it should display the BATCH_DESC for that record.
    Any idea how can I do that.
    Thanks,
    Deepak

    Take a look at this list of threads (You may find something that helps..) : Oracle Application Express (APEX)
    Thank you,
    Tony Miller
    Webster, TX

  • APEX: Show description in Interactive Report column

    Hi experts!
    I need to show title and description in the headings of an interactive report in APEX. So when the user places the mouse on the heading of the column, a description message is displayed.
    In the heading field, I have introduced this string:
    <SPAN TITLE = "Secció Numèrica">SC.N.</SPAN>
    Where "Secció Numèrica" is the description and SC.N. is the title.
    This works fine in the report and the description is shown, but the problem is:
    When the user click on the 'select columns to display' action, the displayed label is
    <SPAN TITLE = "Secció Numèrica">SC.N.</SPAN>
    instead of "SC.N." or "Secció Numèrica".
    Obviously the customer does not want to see that string. I have been looking for any solution in manuals and forums but with no results.
    Thanks in advance for your help!
    Javier

    It is solved.
    The customer is happy having the description displayed in the Help Text section, so it is shown with the info tag.
    Regards
    Javier

  • Incomplete List of Values in Interactive Report Column Headers

    Oracle Database 11g 64-bit
    Apex 3.1.1.00.09
    I created an interactive report that results in over 10,000 records, and several of the columns have incomplete filter values when you click on the column header. It's not even close in some instances. It's not even showing the values that are loaded in the visible page.
    I have tried recreating the report on a new page, as well as creating a database view with the query and then just querying the view (in case there was a problem with query complexity).
    I'm at my wits end as to why this is happening. Have any of you seen this happen, and is there any way to get around it? I know I can write my own LOV query for the column headers, but those won't be dynamic like they are supposed to be out of the box taking applied filters into account.
    Thanks in advance.

    Tim,
    Did you find a solution to this. I have the same problem.
    Cheers
    Yog

  • 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

Maybe you are looking for

  • IPhone - how to sync with iPhoto and Aperture at the same time ???

    I'm having a really hard time with syncing my photos - I'm using iPhoto and Aperture on my Mac. When I launch iTunes and start managing my iPhone, it seems like I should be able to sync photos from a variety of sources all at once (iPhoto, Aperture,

  • Creation of an existing entity bean does not throw a CreateException

    Hi. I am using update 1 with oracle 9i thin driver. I am currently working on a unit test that handles CreateExceptions if creation of a duplicate entity occurs. To test this I preloaded my db and then tried in my code to create an entity with the sa

  • How's playback from external hard drives and 802.11g?

    I'm thinking about putting my movies on an external Firewire hard drive connected to my iMac Intel Core 2 Duo. Does it make a difference in playback jumpiness if any with: 1. The movies on an external Firewire hard drive connected to my Mac? 2. The m

  • MacBook Pro mid 2010 putting itself to sleep and restarting on wake-up?

    My mid 2010 MacBook Pro has recently started having a lot of problems. It will put itself to sleep whilst I am working on it, and when I try tp wake it up it restarts showing a message saying 'Your computer restarted because of a problem. Press any k

  • Restrict HA-NFS to logical hostname resource

    I have a 2 node cluster running 2 HA-NFS pools (one active on each node at a time). The two nodes each have a connection to our storage network (a private network, but not the same as the cluster interconnect networks). They also each have connection