Adding cells to a report row

I've been tasked with this problem, and after looking around I haven't been able to find a working solution aywhere. I would like to know if it's possible using APEX/javascript/AJAX.
I have a multi-column, multi-row report. One column of the report is a Select List. When the select list is changed to "TDY", I need to have four additional "cells" pop up to the right of that row. These will also be APEX_ITEM objects (two text boxes and two date popups).
I've messed around with the "row detail" example here:
http://htmldb.oracle.com/pls/otn/f?p=11933:1:1784821273862228
But when modified to add cells to the right, instead of below the current row, it seems to be breaking the template.
This problem seems to be outside of the scope of APEX and I'd be open to suggestions as to other tools which may work better.
Thanks,
Aaron

I think this can be solved using this approach:
http://htmldb.oracle.com/pls/otn/f?p=31517:78
I have been using this with success. Not exactly the way you need it but it works.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • Adding Cell in a row in Smart Form

    Hi All,
    Can anybody please tell how to add a cell in the row of a table in smart forms.
    Thanks

    Hi,
           Select the table, so that you can see the table painter. In that press the Details tab. You'll get the cell's width details. If you want to add an cell, then enter it's width for it. Also, note that the accumulation of all the cells width in a row should match with that of the Table.
    Regards,
    Hema.
    Reward points if it is useful.

  • Report Row Height and Column Width

    Hi,
    I have a cell in a report (a description column) that causes the row height to become very large (when there is a lot of text in the description). I can make the column wider on the report attributes page, but there doesn't seem to be any place to influence the maximum height of a row on a report, short of modifying the template.
    Adding style attributes (e.g. max-height:30px) to an element only affects the <span> that the element resides in, not the table cell or row.
    Displaying the column as a text area is a useful workaround. The downside is the border and scroll bars do waste a lot of screen real estate. Does there exist some other way of setting a limit on the height and/or width of a report, report column or report row?
    Oh, and another question- how do make line breaks in this forum? There's no support for <BR> or [br].

    Please reply to this thread, my customer is facing the same issue. He does not have issue with the excel and the pdf output but in the rtf output the table heght increases to accomadate the data.He want it to bevave in the same way as the pdf do.
    Regards,
    Ajay

  • Double click on cell in alv report

    Hi all,
    I want to show detail popup on cell of alv report. how to get the cell value.
    plz tell me the logic for getting cell value.
    thanks in advance.

    Hi,
    IF RS_SELFIELD-FIELDNAME = 'EBELN1'.
    * Read data table, using index of row user clicked on
    READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
    Please remember the field EBELN1 should be in IT_EKKO. after the read statement you can move which ever field you want to another for further processing
    like
    READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
    if sy-subrc eq 0.
      move it_ekkp-( your field name) to v_field
    endif.

  • Report Row With Detail (IFRAME)

    Hi,
    I am trying to implement the Report Row with Detail but not successful.
    I have gone thru the various threads in the forum.. but i am unable to
    get it. It would be great if I could know the step by step process to do the same.
    I have created two regions. The first region (the query to it) also
    has a show_region link.. I have copied and pasted the javascript given
    by Carl.
    Thanks,
    shilpa.

    Hello,
    Ok then you are almost there so when you submit the form to update your data on a sucessful save you are going to create a plsql region that just uses htp.p() to write out the javascript to update the report in the main page.
    a simple example would be something like this.
    Lets say I'm getting back values to update the two first table cells on my parent report.
    <script>
    /*set up call back function*/
    function ReportRowUpdate(){
    var lRow = parent.g_LastRowOpened; /* hook to last row clicked */
    lRow.cells[0].innerHTML = 'SOME VALUE FROM DATABASE 1';
    lRow.cells[1].innerHTML = 'SOME VALUE FROM DATABASE 2';
    /*call call back function*/
    ReportRowUpdate();
    </script>
    And that should be it.
    Carl
    Message was edited by:
    Carl Backstrom

  • Hiding the blank cells in Webi report - BO 4.0

    Hi,
    I have created a webi report in which i have used different types of blocks
    1) Form table
    2) Verticle table
    3) Horizontal table.
    so now in real time there chances that some of the blocks will not have any data.(i.e it displays blank cell) in the report.
    so now i have to hide only the blank cells and not the table headers.that means though the cells are blank i have to display headers.
    what formatting changes i need to achieve this in Webi Report.
    If anybody does this please let me know the step by step logic in detail.
    Thanks in advance.
    Regards,
    Naga Nanda Kishore.

    Hi,
    We cannot hide specifc cells in WebI, however we can choose to whether to display or not empty measure values and empty dimension value.
    So you need to select the desired block-> Right Click  and Select Format Table-> Uncheck Show rows with empty dimension values or Show rows with empty measure values whichever is required to be hidden.
    Hope this helps.
    Regards,
    Manpreet

  • Conditional Formatting for Report Rows based on page item

    Hi,
    I have a report and a page item on a page. I would like to somehow highlight any report rows where a particular column in the report (e.g. "Customer_ID") matches the page item (e.g. P2_CUSTOMER_ID).
    Any idea how to do this?
    Thanks,
    Forrest

    You can also achieve this by jquery ( Please note - I just started learning jquery , so my way of doing it may not be a good way of doing it)
    1. Download jquery from [http://www.jquery.com]
    2. In Page Header enter
      <script type="text/javascript" src="#WORKSPACE_IMAGES#jquery.js"></script>
       <script type="text/javascript">
       $(document).ready(function(){
          //t20data is the class for table cells in theme 20 .. change it as per you theme - right click view source and find it
             x = $('.t20data').length;
         //i=7 is the column index of customer id
        // i = i + 10 , 10 is the number of column
           for( i = 7 ; i < x ; i=i + 10)
                if($('.t20data').eq( i ).html() == $x('P2_CUSTOMER_ID').value)
                    // i-7 is the first cell of row and i+2 is the last cell of row 
                    for( c = i - 7 ; c <= i + 2 ; c++)
                         $('.t20data').eq( c ).css("background","red");  
    </script>[ E X A M P L E | http://apex.oracle.com/pls/otn/f?p=62171:1]
    Regards,
    Shijesh

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold:
    1. I'm looking to see if anyone else has experienced this type of issue before.
    2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
    Synopsis
    I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
    By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
    Environment
    * This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
    * I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
    Logs
    * No application errors during this timeframe.
    * Nothing of significance in the database alerts log (just thread notes and log sequences).
    * Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
    Thanks for your attention,
    Jason
    Edited by: Jason G on Jul 24, 2009 12:43 PM

    Well, thanks for reading the post anyway.
    While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
    I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
    So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
    Good luck,
    Jason

  • Hiding webi report row in output context

    Hello,
    I wanted to know if there is a way to hide a webi report row. ( I am not interested in filtering at query level).
    Now for example, say a query returns say
    USA 800
    UK 200
    APAC 100
    JAPAN 50
    Now i want to hide the row with JAPAN in the report output context. I am wondering if this is possible using some formulae.
    I am not interested in hiding data with say alerter and cell color, that will only create an empty row look when exported to PDF or Excel.
    Thanks in advance for your help.

    Hi,
    Yes it is possible if you write down a formula in that column.
    If "Country" = "JAPAN" then ""
    This will show nothing in the column and thn you can set column property to hide if there is nothing.
    Regards,
    Bashir Awan

  • (JTable) How can i get the first columns cell in a selected row?

    Hello. I am trying to figure out how i can get the first columns cell within a selected row no matter what cell is selected in that row. I have a class that extends AbstractTableModel which represents the table. Now i have another class that extends DefaultSelectionModel. Each model is added to the JTable via setModel(TableModel dataModel), setSelectionModel(ListSelectionModel newModel). Now i don't understand what i have to return from getMaxSelectionIndex(). Any ides? Thanks.
      class xTableModel extends AbstractTableModel{
         private static String[] cols;
         private Object[][] data;
            public void setTableModel(Object data[][], String[] cols){
             this.cols = cols;
             this.data = data;
            public String getColumnName(int col){
             return cols[col];
            public int getRowCount() {
             return data.length;
            public Object getValueAt(int row, int col) {
             return data[row][col];           
            public void setValueAt(Object value,int row,int col){
             data[row][col]=value;
            public int getColumnCount(){
             return cols.length;
    class ColumnListenerModel extends DefaultListSelectionModel{
         public int getMaxSelectionIndex(){}

    int row = table.getSelectedRow();
    Object data = table.getValueAt(row, 0);

  • How to hide cells in the sumation row in bps web layouts

    Hello xperts,
    I'm looking for a possibility to hide certain cells in the sumation row within a planing table (layout) over the webinterface builder.
    can anybody help me.
    I know there is a possibility to influence a table with the tableinterface for reporting tables.
    Is there any similar possibility in BPS- Web interface builder like a java script ?
    Please help !!!

    Hi Thomas,
    what exactly do you mean by "hide certain cells"? Do want to empty the contents of the cell or actually hide the cell? Hiding works for entire rows or entire tables, but hiding colums or even single cells is a bit more difficult (given, that when you hide one cell, the table loses its rectangular shape and the rows and columns don't match anymore ).
    I mangaged to change the appearance of certain objects with javascript. But that works only if you have an ID or NAME attribute in the HTML-source. Let's say you have a button and want to make it disappear.
    1. Create the button in the wi builder, name it button1.
    2. Create a text/html field, mark the html flag.
    3. Edit the long text of the field:
    <script>
      document.getElementById('button1').style.display='none';
    </script>
    That will make the button disappear. But I don't think that the display attribute will have any effect on a TD. You can try with style.InnerHTML or maybe set style.color to the background color. But in any case, the TD in the HTML code needs to have an ID or NAME. Otherwise it can't be referred. Maybe changing the bsp with SE80 helps?
    Simon

  • Can i merge two cell in BO Reports?

    Hi!
    I'm new to this BO. I've already posted my problem in some other place in this forum. Now, I think that may be a wrong place to post.
    So, i'm posting this problem once more here.
    I'm giving you that link which i've already posted (Otherwise it will be duplicate thing to post the entire content) ->
    [Can i merge two cell in BO Reports?|Can i merge two cell in BO Reports?;
    Sorry for this initial mess.
    Waiting for your feedback.
    Regards.
    Satyaki De.

    Thanks for your reply.
    But, my requirement is slightly different than what you have shown.
    I've created two reports say report 1 & report 2. And, it should looks like this ->
    Report 1,
    YEAR QT         P1         P2
    2001 Q1                    25
    2002 Q2         13         14
    Report 2,
    YEAR QT         P1         P2
    2001 Q1          7         12
    2002 Q2         10
    And, my required final output should be ->
    YEAR QT         P1         P2
    2001 Q1          7         37
    2002 Q2         23         14
    So, as you can see - i'm merging and adding the values of two reports into one.
    I'm using Oracle 10g as my DB. Is it possible that i can write some SQL query any where in any place of the reports that can do this staff. Then i can go for that kind of solution, too.
    But, in that case i need to know where to write the query. Please reply.
    But, first -> Is it at all possible in BO?
    Thanks again for your valuable time to read this post.
    Regards.
    Satyaki De.

  • Cell definations in reporting?

    really we use cell definations in reporting in real time.
    Thanking u
    suneel.

    Hi ,
    Yes its required for some situations.
    But you must have two structures in column and row then only u can use this option.
    You have to use this some scenarios for example you are displaying time periods like Q1, Q2, Q3 & Q4 and Total in rows and amount values , percentage in column.
    In this situation in order to show the total u can sum Q1Q2Q3+Q4 values but percentage u cannot some, so u have to use cell defination where u can calculate percentage using restricted key fig you can select and show this by using cell defination.
    Assign points pls.........
    Best Regards,
    SG

  • Cell definition in Report Painter

    Dear All,
    I am looking for some documentation or any other sort of help regarding the cell definition in Report Painter reports.
    Regards
    Shirazi

    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/46/1a1c3ac9fb1d75e10000000a114084/content.htm">SAP documentation</a>

  • Custom report row template

    Few questions when using a custom report row template. Followup to the discussion Report Row Template: Column condition
    1. The row template allows full control how the entire row is rendered. I can see this being used when the report query returns a single row and we need to format it in a very specific way. But when the query returns multiple rows, how is the specified Row Template used? i.e the first row is "consumed" and rendered as per the template. If the same process is repeated for subsequent rows, how can we control whether successive rows are rendered across the page (left to right) or down the page (top to bottom)?
    2. When a custom row template is used to render a tabular form, the hidden columns (marked Edit=Y, Show=N on Report Attributes) are present in the markup even when they are not specified in the row template! i.e. the MRU process works. Of course, this is a good thing but I was curious to know what exactly controls this, what part of the report template controls where the hidden form elements are placed?
    3. Any number/date formatting specified declaratively on the Column Attributes page appears to be taken into account when column values are substituted in the template using #COL# notation. But all the other Column Attributes are ignored (alignment, sum, show, link, etc). Is there a way to use the Link attribute to declaratively specify the link so the value of the column #COL# as seen by the report template includes the A tag?
    Thanks

    Comments? Thanks

Maybe you are looking for

  • How to use xsl document() function with LiveCycle XSLT processor

    Hello, I would like to use LiveCycle XSLT processor to merge xml documents by using the xsl document() function. However, I have not, yet, found  clear reference information on the specifics of how to accomplish in LC. For instance if you have a tran

  • New iMacs but has Steve heard...

    Has Steve heard of the economic downturn at all? The iMac, mini and Pro seem expensive to me or is that just me? Cheers

  • How to use Partial Page Navigation

    according to Web User Interface Developer's Guide for Oracle Application Development Framework section 7.4.1 How to Use Partial Page Navigation, I set 'oracle.adf.view.rich.pprNavigation.OPTIONS' to 'on' in the web.xml. and in the jspx, I use af:comm

  • Zfs snapshot question

    Hi guys, I will really appreciate it if someone can answer this for me. I do understand that you can use snapshots to back up file systems. But they also use up pool space when their file systems grow. So, is it necessary to create zfs snapshots even

  • Re: JMF Player, How to play a video

    Please I need an answer. I think, my problem is that I don´t found a correct MPEG-2 I-Frames or a correct Video Drip Can someone tell where I can found a correct MPEG-2 video to play in JMF in a Set-Top Box? Thank you