Standard report - left align column not explicitly applied - bug?

Hello

I think that this post on the forum is very close to what I feel
BUG: Standard - alignment of the column header problem report

I have a theme which I think was originally based on theme2, using Apex 4.1.1 improved over time to 3.x.

I've created a classic report using the standard template, and I have found that the data remain aligned in Chrome, but centered in IE8.

When I look at the HTML code generated, the align property is added only when the property of the alignment of the column is set to the Center or right.
<td align="right" headers="COST" class="data">$118.00</td>
The model column is
<th#ALIGNMENT# id="#COLUMN_HEADER_NAME#" class="header">#COLUMN_HEADER#</th>
I would put this in the category "bug", but I understand that this seems to be a specific problem of the browser.

All of the recommendations of the most elegant way fix this using CSS?

Scott

Scott.Wesley wrote:
Hello

I think that this post on the forum is very close to what I feel
BUG: Standard - alignment of the column header problem report

I have a theme which I think was originally based on theme2, using Apex 4.1.1 improved over time to 3.x.

I've created a classic report using the standard template, and I have found that the data remain aligned in Chrome, but centered in IE8.

When I look at the HTML code generated, the align property is added only when the property of the alignment of the column is set to the Center or right.

$118.00

The model column is

#COLUMN_HEADER#

There is a gap. A watch a td (table cell) element and the other a th (table header). Who is this?

I would put this in the category "bug", but I understand that this seems to be a specific problem of the browser.

Personally, I'm not really bothered about #ALIGNMENT # and oddities/bugs it. I always use CSS to align the columns (and I use a lot of named column templates where #ALIGNMENT # does not work in all cases).

The attribute align on all elements of array is now illegal and should not be used. (APEX will have to catch up, but given the lack of attention Oracle gave to the HTML standards in their products over the years, I'm not holding my breath...)

All of the recommendations of the most elegant way fix this using CSS?

The elegant CSS to do this is to use an attribute selector:

/* ID selector for the column header */
th#COST,
/* Attribute selector for cells with the header attribute "COST" */
td[headers="COST"]  {
  text-align: right;
}

If this does not work in IE8, then a compatibility mode is, or models in the legacy of 3.x theme pages do not contain the necessary rendering trigger Standards mode DOCTYPEs. IE does support attribute selectors in standards mode.

Tags: Database

Similar Questions

  • APEX 5 - bad position for standard report view break column

    Hello

    in the standard report, if I put in the set break-shaped section, the first column as a column break and style of "repetition position break."

    the first position 'closed' break is inserted after the headers, the following text is in the right place

    https://Apex.Oracle.com/pls/Apex/f?p=47732:3

    user: test

    PWD: test

    concerning

    JM

    jmniard wrote:

    in the standard report, if I put in the set break-shaped section, the first column as a column break and style of "repetition position break."

    the first position 'closed' break is inserted after the headers, the following text is in the right place

    It is a bug. For an explanation and workaround, see Re: first group header below displays under the column headers using the model 23 classic report with the help of repeat titles on break

  • What is the differece between a Standard report column and that is set to display text (escape special characters)?

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Here is the difference:

    • Standard report column: this is used when your column in the SQL query returns the HTML markup. For example the query SQL with APEX_ITEM API columns or columns where you have mixed data in the column with the markup. In short, APEX rendering engine treats the column as HTML markup and analysis accordingly to display the required HTML element.
    • Display text (escape special characters): this type analysis the column data in the form of data stored in the database (no HTML). During analysis if the data contains special characters then it escapes and displays the data.

    Yes, you can mix the manual in the form of built on APEX_ITEM with normal standard report (display text) columns.

    I hope this helps!

    Kind regards

    Kiran

  • Under certain conditions changing IMG link Standard report column

    Apex 4.0.2

    I have an application that includes photos of employees. I want to display a link to the column in a report of the employee who opens a page to manage the photos of a given employee. Worked well when using an image of compatible icon for all employees.

    But I want to do is have two images of icons. If a photo already exists. Another case a photo has not yet been added.

    I have included a select with the following CASE statement in the Source of my region.

    (CASE WHEN p.person_id IS NULLTHENIMG alt = "nophoto" src ="#WORKSPACE_IMAGES #nophoto.png" > "
    ON THE OTHERIMG alt = "photo" src ="#WORKSPACE_IMAGES #photo.png" > "
    END) "PHOTO".

    I believe it works. I ran in SQL Developer, and it produces the following-

    < img alt = "photo" src = "#WORKSPACE_IMAGES #photo.png" >

    < img alt = "nophoto" src = "#WORKSPACE_IMAGES #nophoto.png" >

    I created a link to the column as a COLUMN of REPORT STANDARD. I put the TEXT of the LINK to #PHOTO #. I put the binding TARGET, PAGE and EMPTY the CACHE settings. The column displays as empty. Firebug shows an empty TD.

    I remove the binding TARGET settings, PAGE and CLEAR the cache. The img is displayed correctly. Firebug shows the < img > properly. But of course, it is therefore more a link.

    I'm doing something wrong here. But do not know what it is.

    Walt K wrote:

    Apex 4.0.2

    I have an application that includes photos of employees. I want to display a link to the column in a report of the employee who opens a page to manage the photos of a given employee. Worked well when using an image of compatible icon for all employees.

    But I want to do is have two images of icons. If a photo already exists. Another case a photo has not yet been added.

    I have included a select with the following CASE statement in the Source of my region.

    (CASE WHEN p.person_id IS NULL THEN 'nophoto'
         ON THE OTHER 'photo'
    END) "PHOTO".

    I believe it works. I ran in SQL Developer, and it produces the following-

    photo

    nophoto

    I created a link to the column as a COLUMN of REPORT STANDARD. I put the TEXT of the LINK to #PHOTO #. I put the binding TARGET, PAGE and EMPTY the CACHE settings. The column displays as empty. Firebug shows an empty TD.

    I remove the binding TARGET settings, PAGE and CLEAR the cache. The img is displayed correctly. Firebug shows the correctly. But of course, it is therefore more a link.

    I'm doing something wrong here. But do not know what it is.

    That's because the behavior of standard report is to strip the HTML code of column values used in the expressions of HTML, links in the column and the report when the data is exported as CSV files. This is controlled by the attribute of HTML report of band, which by default is set to Yes. Change this setting to No. , and link images to be displayed.

    A solution with a better separation of concerns that are compatible with the Strip HTML and display text default settings is:

    1. Select only the image name in the query [ nvl2(p.person_id, 'photo', 'nophoto') photo is simpler than the previous CASE expression] and make this hidden column
    2. Add a link in the column to the State ('add column link' in the bar of tasks )
    3. Set the property of the new column binding Expression in HTML to#PHOTO#
    4. Specify the column link attributes as required

    Last suggestion would be to display thumbnails of the photos used here where they exist rather than an arbitrary generic image...

  • Standard report &amp; Image column

    Hello world

    I have a standard report for employees in this report there is a column of image showing the photo of the employee.
    Of course, if there is no image in the database for the employee report does not display anything.
    What I want is that if the image column is ZERO the report will display a standard NO_PHOTO. JPG image for this employee... is this possible?
    My select statement is simple:
     
    select 
           "EMP_ID", 
           "EMP_FIRST_NAME", 
           "EMP_SECOND_NAME", 
           "EMP_FAMILY_NAME", 
           dbms_lob.getlength("EMP_PHOTO") "EMP_PHOTO" 
    from   "T_EMPLOYEE" 

    One method is to use a dynamic Action to insert the image by default when there is not in the report. This avoids having to change the attributes or report queries.
    H4. When

    Event: After refresh
    Selection type: region
    Region:

    H4. Real Action

    Action: Run the JavaScript Code
    Fire on loading the Page: Yes
    Code:

    $('#emp-report td[headers="PHOTO"]')
      .contents()
      .filter(function() {
        return this.nodeType === 3; // report cell contents is a text node, not an img element
      })
      .replaceWith('No photo');
    

    Another is to put the logic in the query and get the source for the image programmatically:

    select
           "EMP_ID",
           "EMP_FIRST_NAME",
           "EMP_SECOND_NAME",
           "EMP_FAMILY_NAME",
              '' || nvl2(photo,  ' "EMP_PHOTO"
    from   "T_EMPLOYEE"
    

    Where P2_PHOTO_FILE is the file browser used to transfer the photos.

    The column attribute display as for the column EMP_PHOTO must be replaced with Standard column of report when you use this method.

  • Need help with Javascript to get the value of standard report column

    Hi all

    Apex 3.1 version

    I have a query SQL (editable report) region where I need to do validations using a process of OnDemand and javascript. For this posting, I need to use the serial number and id of this same report line item. The function is called when the serial number is changed. I can get the serial number easily because it is a text field, however, the item id is a standard report column (which actually a text field or hidden gives me a checksum error, long story). How can I get the value of the standard report column to set the value of an element of the Application to use in my process of application as well as the serial number? Here is my code below.
    <script>
    
    function f_ValidateSerial(pThis)
    {
        
      // The row in the table
    
      var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
    
        //alert('Row is '+vRow);
    
    
      // Display the serial number
        //alert('The Serial Number is '+html_GetElement('f21_'+vRow).value);
    
      
     var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=ValidateSerial',0);
     get.add('F101_SERIAL_NUMBER',html_GetElement('f21_'+vRow).value);
     get.add('F101_INVENTORY_ITEM_ID',+html_GetElement(?????+vRow).value);   // Here's where I need to get the item id to set application item!!
     
     gReturn = get.get();
     
    if (gReturn)
        { 
          alert(gReturn);
        }
     
      if(gReturn)
        { 
          html_GetElement('f21_'+vRow).value = '';
        }
               
    }
    </script>

    Hello

    Ok

    Item ID is standard report column.
    If you enter this Expression HTML column

    #ITEM_ID#
    

    I guess that the substitution of column item Id is #ITEM_ID #.

    Now, you have hidden input form that is not submitted.
    Then in JavaScript

    get.add('F101_INVENTORY_ITEM_ID',+html_GetElement('item_id_'+Number(vRow)).value);
    

    Kind regards
    Jari

  • Kerning in a left-aligned text column

    How do you get the text to go to the right-hand side of a text column when you have a left-aligned paragraph? When I adjust the tracking/kerning there seems to be a right auto dash that I can't work on the deletion of about 5mm.

    Image attached, shows what I mean... I want the first line to go further in all, but he's not going past the guide I put in place.

    Picture 1.png

    Two possibilities: either you have "Lines balancing ragged" enabled (which will try to make each line the same length), or it is caused by the paragraph composer (which attempts to balance the amount of white space at the end of each line).

    Solution # 1: clear the balance of the jagged lines.

    Solution # 2: use the single line composer - who will fill each row until the scope before continuing with the next and the right side will not be as well inconsistent as it is now.

  • How to change a field that is the "Standard report column" when adding new line

    Hello

    With apex 5.0 and database 12 c, I have created the query as follows:


    APEX_ITEM. HIDDEN (2, TRANS_M_CODE).

    APEX_ITEM. HIDDEN (3, TRANS_D_CODE).

    APEX_ITEM. HIDDEN (4, TRANS_TYPE).

    APEX_ITEM. HIDDEN (5, CO_CODE).

    APEX_ITEM. HIDDEN (16, DR_LOCAL).

    APEX_ITEM. HIDDEN (17, CR_LOCAL).

    APEX_ITEM. POPUP_FROM_LOV (6, ACC_CODE, 'GL_ACCOUNT') ACC_CODE,


    This field is a Standard report column, when there are data without problems, but when you add news is disabled showing null.



    Any Suggestions please

    use the query

    Select

    "ROWID",.

    apex_item. Hidden(1,empno) | EmpNo as empno,

    ENAME ename,

    "JOB."

    "BISHOP."

    "HIREDATE",.

    "SAL."

    "COMM"

    "DEPTNO".

    of ' #OWNER # '. " EMP.

    Empno as hidden item and ename like textbox to display as a tabular presentation

    apex_item. Hidden concat with hidden empno point for your use

  • Interactive report - new columns not displaying when you reset report

    Hi all

    I modified a report query interactive to display additional columns, but when you select Reset the report the additional columns are not displayed. I know that I can select them via the menu actions, then ssave the report like the one by default, but I was wondering if there is anyway to "clean" the report parameters to show them all by default anyway.

    I use v 4.01.00.03 with no option to upgrade atm

    Thanks in advance

    Greg

    OK, so I found the table - wwv_flow_worksheet_rpts where you can directly update the REPORT_COLUMNS column to view the columns of your choice by default.

  • BUG: Theme 25 pairs value attribute - model left-aligned report

    Theme 25 < b > value pairs attribute - model of left-aligned report < /b > definition before lines contains the substitution string "< tt > #REPORT_STATIC_ID # < /tt >:
    <ul class="vapList tableBased" #REPORT_ATTRIBUTES# id="report_#REPORT_STATIC_ID#">
    Must be < strong > "< tt > #REGION_STATIC_ID # < /tt >" < facilities >:
    <ul class="vapList tableBased" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
    Published by: fac586 on April 30, 2013 10:45

    Bump

    Thanks for posting on this bug, Paul. This is certainly a bug and I connected in our internal system of bugs so that we can monitor and fix it for the next release.

  • Highlight conditional in standard report based on a column - endangered

    Hi all

    I've implemented a conditional formatting on a standard report based on the thread below

    Highlighting a row in a tabular form, based on a column in the row

    Everything works fine, except when you hover over the report highlighting disappears. It reappears if you refresh the page, or scroll to the next page in the report.

    I use in my style in the model tag
    style = "background: red".

    Is this something to do with the model? I use the theme generator 2.

    Any ideas?
    Andrew

    Hi André,.
    It is in from the report model - before every line:
    Just remove the # if #HIGHLIGHT_ROW you don't need.

    Regards Garry

  • SQL or Standard report to check AP still not transfer to GL

    Hi all:
    Is there a SQL or a Standard report to check AP still not transfer to GL?

    my environment: oracle 11.5.9
    platform: linux red hat 4.0
    database: 9.2.0.8





    Concerning
    Terry

    You can run the transfer of accounts payable to General Ledger program to display entries of accountinng which was transferred and not transferred to the General Ledger.

    This report contains specific sections that list the entries have been transferred and which did not exist and hopefully also lists the reason why they were not transferred.

    I hope this helps.

    Thanks and greetings
    Jeanny.

  • Standard report - can that get a column title span several columns?

    Hello

    I have a simple standard report that shows, for a project, the number of work packages which have RAG Reporting Status of Red, orange or green.

    I have therefore four columns:

    : Name of the project: Red: Orange: Green:

    I would like to have a text on the last three columns like (ignore the ' x - just trying to look readable!):

    : XXXXXXXXXXX: status RAG XXX XXX:
    : Name of the project: Red: Orange: Green:

    This is similar to the effect achieved by merging a cell in Excel so that it spans the three cells in the row below.

    Hope it makes sense and someone can suggest a solution.

    Thank you very much
    Martin

    Create a column template name for this report. You can set a header for multiple line using colspan/rowspan on the header cells to reach the required provision.

  • Standard reports with links

    I am creating a dashboard on the homepage of my application for the logged in user. The page would have ideally 2 interactive reports, they could click on browse to change the record. It seems that I can use only 1 interactive report by page. Is it possible to add links to standard reports to map to the edit page?

    Thank you

    Blake

    You're right that you can not use more than one IR on a page. And Jeff is absolutely right that you can use the report form.

    However, if you already have a form of change based on the data that you want to change, you can indeed create a standard report and then bind it to your existing.

    Simply create the report on your dashboard Page as you normally would. When it's done and working the way you want to, change the dashboard page and then change the ratio of the attributes of this report. Chose the column that you want to link to the form and click the change (to the left) for this column. Scroll down to the region of the COLUMN LINK on the page. This is where you can configure the column to be a link to another page (or url).

    Depending on the column in which you have chosen, you probably want to use one of the built-in images, nor the value of the column for the link text. Quick links below this field will help you with this.

    To TARGET, select "Page in this Application" and then enter the page number of the PAGE editing screen.

    You'll also want to pass through the ID of the item that you want to edit the page. You do this by placing the name of this element (i.e. P29_ORDER_ID) the NAME and the replacement for the value variable (i.e. #ORDER_ID #). Fortunately, the strobe lights little help with this as well.

    Once you have done so, apply your changes and your link to appear in your report!

    I hope this helps.

    Doug
    www.sumneva.com

  • Report Generation Toolkit V9.0.0: Report.vi print does not print

    Hello

    I migrated my project Labview 8.5 Report Generation Toolkit V1.1.2 to Labview report Generation Toolkit V9.0.0 2009 system.

    In this project, I use the report generation tool to print a Standard report with e bit of tables and graphs.

    The Report.vi of printing VI now offers the 41002 error with the text "invalid printer name. I, of course installed the right printer on the machine.

    I Don t one connection at the entrance of 'Printer name' string of VI, because I want to use the default printer.

    In my opinion, West one bug in the Report.vi of printing: If you don t the "printer name" input wire, the vi must use the default printer, but in this case the vi connects the entry blank chain at the entrance of the node method he calls.

    I fixed this bug, but the node method always returns the same error.

    any ideas?

    Thank you!

    Thanks for the link!

    For some reason I can´t find this specific article in the knowledge base (my browser is rerouted always to the German of ni.com version, because I'm in Austria). I tried to search for the exact title of this article and the error message string, but no result...

    I also installed Labview 8.5 and the toolboxes 'old' on my new computer in addition to Labview 2009 and the 'new' toolboxes and tested my program to 8.5. Here, I got an error mentioning the margins and I had to change the margin for printing settings, then worked.

    After reading the article, I applied the same changes to the margins in the 2009 version of my program and it works too!

    Problem solved!

    Thank you very much!

    PS:

    I wrote first of all, that West might be a bug in the new version of Report.vi printing, but I ve compared to the old version and there seems to be no bug, sorry!

    After all, I decided to stay with Labview 8.5 for now, due to another problem:

    It s not possible to "save the previous version" of LV2009 to LV8.5 directly.

    Laview grave failure, when a VI contains a structure of the event I found by looking in the "known issues", and I have a lot of report with the structures of the event!

    I must have the ability to save my projects Labview 8.0 and 8.5. The only way is to save for 8.6 and then save 8.6 to 8.5.

    That s long and nasty!

    Perhaps a future update will solve this problem (without producing new)

Maybe you are looking for