APEX-BUG? Row Highlighting and Mouseover

Hello Experts,
I build a classic report on APEX 4.0.2 with different column templates depending on the dep_id-row. (If dep=30 I want a green row)
You can see this at [http://apex.oracle.com/pls/apex/f?p=12579:5:164720075315678:::::|http://apex.oracle.com/pls/apex/f?p=12579:5:164720075315678:::::]
After F5 all columns for dep 30 are in green. If you move the mouse over the report the rows become grey. After next F5 you will again see the green background color.
The template is defined as follows:
Column Template 1
<td headers="#COLUMN_HEADER_NAME#" #ALIGNMENT# class="t20data" style="background-color:#EEEEEE;">#COLUMN_VALUE#</td>
Column Template 1 Condition
Used Based on PL/SQL Expression
Column Template 1 Expression
#DEPARTMENT_ID# <> 30
Column Template 2
<td headers="#COLUMN_HEADER_NAME#" #ALIGNMENT# class="t20data" style="background-color:#8FE98F;">#COLUMN_VALUE#</td>
Column Template 2 Condition
Used Based on PL/SQL Expression
Column Template 2 Expression
#DEPARTMENT_ID# <> 30#DEPARTMENT_ID# = 30
I'm shure that this already worked fine.
Is there a way to use Row Highlighting together with Column Templates ?
Thanks for any idea!
Frank
Edited by: frank_schmidt on 23.02.2011 02:01
Edited by: frank_schmidt on 23.02.2011 07:41

I can see that when the mouse moves over a row, the row cell(td) are applied a background-color, this is not via a class but it is set directly at the column level.
So I guess it is some JS code that does it.
If that be the case, irrespective of the css classes or inline styles you specify for the column,they would be overridden(element.style > class ) and overwritten(td.backgroundcolor is set directly). So JS code that does this has to be disabled first.
If you remove the 'highlight-row" class from the table row( tr) element either in the template or if its for just one report, do it directly in the Page using JS by
$('tr.highlight-row').removeClass('highlight-row');Now inorder to get the row highlighting(without removing the original styling on mouseout), change the template to use a class and move the background color under the class( background-color:#8FE98F).
If you highlighting to work with FF alone, you can define the :hover pseudo class
{code}
tr.highlight-row td:hover{
background-color:#CDCDCD;--use the mouse over color
{code}
But if it has to work with all browsers, you would have to rewrite the row highlighting JS

Similar Messages

  • Numbers 3.1 How to get row/column highlight on mouseover?

    Hi, hope someone can help with a query.
    I've just updated Numbers to 3.1 on OSX.
    The Release Notes indicated there is an option to have rows/columns highlighted on mouseover.
    I have looked in Preferences to find this option, without success.
    Does anyone know how to access this option please?
    Many thanks.
    Steve

    Hi Ian,
    Nice catch. I too was wondering about that particular feature, and couldn't find it. 
    What purpose that serves, I have no idea.
    Well, I suppose it's supposed to show you where your cursor is in a vast sea of numbers.
    On my machine when I hold down the option key and hover over a cell I see a pleasant blue cross with a white cell in the middle. Pondering the beauty of it all, for a moment I forgot what I was looking for.
    Actually, I'm finding it a nice touch, helpful for working with largish tables.
    SG

  • Massive bug by combining Shadow/Highlight and a cross fade

    Hi. I found what appears to be a bug by using a cross fade between two clips with the shadow highlight effect. I cross faded two clips (240fps AVCHD from FS700) each with RGB Curves and Shadow/Highlight and sometimes I get this nasty side effect. The side effect is a random white flashing, or rather an erratic application of the shadow/highlight effect. Maybe it's because it is trying to process the effect on footage which is slowly losing opacity due to the cross fade, and as this happens, the colour data changes as a result. This effect may not happen outright when you try it, I think it applies to specific clips, or clips where the shadow number is higher than the highlights or vice versa. It is now happening again in my new edit and this worries me because I like the effect that it gives, but not the buggy side effect.
    Here is the video where I first experienced it. It only appears to happen at 2:18, but now in my next video, it's happening in my opening shot.
    Rendering with gtx570 & pprocs6.

    The problem occurs when two clips that both have Shadow/Highlight adjusment with different values are crossfaded. You get this light dark bands of flickering in the crossfade. It looks horrible.
    SOMETIMES, disabling GPU acceleration works. Not always.
    Setting the clipping amounts to 0, as opposed to the default of .01 will help with the clip flickering, but NOT the crossfade flikering. It will not help
    Using Opacity keyframes as opposed to the Crossfade Video Transition Effect will not help.
    The only sure  way to solve the problem is to make INTER clips. Render the two clips seperately with all shadow/highlight effects, then replace the clips on your timeline with the rendered clips and THEN crossfade them.
    Also, for those of you that simply notice the "sky" in your scenes flickering when using Shadow/Highlight Adjustment, make sure to set at least the Black Clip from .01 to 0. This will stop that annoying flicker throughout the entire clip.

  • [svn:fx-trunk] 9225: Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization

    Revision: 9225
    Author:   [email protected]
    Date:     2009-08-11 11:36:09 -0700 (Tue, 11 Aug 2009)
    Log Message:
    Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization
    Fix: Change H/V layouts first-visible-element lookup logic to accommodate negative gaps.
    QE notes: None
    Doc notes: None
    Bugs: SDK-22497
    Reviewer: Hans
    Tests run: checkintests,
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22497
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as

    sorka;
    You can check the LabVIEW Support page.
    There is a troubleshooting section called LabVIEW Installation/Getting Started Resources. It also includes a LabVIEW 7.x Frequently Asked Questions that has a link that reads Issues Fixed in LabVIEW 7.1. However, not much information is provided there.
    Other places where you can post your findings is at the LAVA Forum (check the Bug list forum) and the Info-LabVIEW mailing list. These are not official places, but usually they li
    sten
    Enrique
    www.vartortech.com

  • Apex 4 -- Standard, Alternating Row Colors row highlight broken

    template: 14. Standard, Alternating Row Colors in apex 4.0 appears to have it mouse-over row highlight colors reversed (except for the first row, which is not highlighted)
    when first displayed, the rows are displayed white/gray/white...
    mousing over the first row does nothing, mousing out does nothing
    mousing over the 2nd row does nothing, mouse out changes it to white
    mousing over the 3rd row does nothing, mouse out changes it to gray
    etc

    I noticed this behavior too, very annoying. Did someone found a way to fix the template ?

  • Alternate row highlighting for library and playlist display

    I recently upgraded to iTunes 7 from an old version (4). The old version had a readability feature that appears to be lacking in 7 -- library and playlist contents had alternate rows highlighted subtly. As I have a high screen resolution and use many columns, this highlighting was very useful to me.
    Does anyone know if there is a way to turn this on for iTunes 7?
    Thanks,
    Per
      Windows XP Pro  

    I don't think the source bar ever had the alternate bars, and the library still has it. It does seem to be much more subtle than before, though. Have you tried adjusting the contrast on your monitor?

  • Row Highlighting

    I am trying to find a thrad / example showing how to do row highlighting using javascript. I want to highlight a row in a report by clicking on it. It is supposed to remain highlighted until I either reload / submit the form or click on an other row. Mouseover and mouseout events are not desired :). Anyone with an idea?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

    Denes,
    Here is the CSS and Javascript I use to achieve row highlighting on click..
    <style type="text/css">
    tr.odd td.t15data{background:#F4FFFD;}
    tr td.t15data{background:#FFFFFF;}
    tr.selected td.t15data{background:#D7D7D7;}
    </style>
    <script type="text/javascript">
    function addLoadEvent(func) {
      var oldonload = window.onload;
      if (typeof window.onload != 'function') {
        window.onload = func;
      } else {
        window.onload = function() {
          oldonload();
          func();
    function addClass(element,value) {
      if (!element.className) {
        element.className = value;
      } else {
        newClassName = element.className;
        newClassName+= " ";
        newClassName+= value;
        element.className = newClassName;
    function stripeTables() {
         var tables = document.getElementsByTagName("table");
         for (var m=0; m<tables.length; m++) {
              if (tables[m].className == "t15standard") {
                   var tbodies = tables[m].getElementsByTagName("tbody");
                   for (var i=0; i<tbodies.length; i++) {
                        var odd = true;
                        var rows = tbodies.getElementsByTagName("tr");
                        for (var j=0; j<rows.length; j++) {
                             if (odd == false) {
                                  odd = true;
                             } else {
                                  addClass(rows[j],"odd");
                                  odd = false;
    function lockRow() {
         var tables = document.getElementsByTagName("table");
         for (var m=0; m<tables.length; m++) {
              if (tables[m].className == "t15standard") {
                        var tbodies = tables[m].getElementsByTagName("tbody");
                        for (var j=0; j<tbodies.length; j++) {
                             var rows = tbodies[j].getElementsByTagName("tr");
                             for (var i=0; i<rows.length; i++) {
                                  rows[i].oldClassName = rows[i].className
                                  rows[i].onclick = function() {
                                       if (this.className.indexOf("selected") != -1) {
                                            this.className = this.oldClassName;
                                       } else {
                                            addClass(this,"selected");
    addLoadEvent(stripeTables);
    addLoadEvent(lockRow);
    </script>
    This will also stripe or do alternate row colors for you. If you do not want or need that functionality, just remove the stripeTables function and addLoadEvent(stripeTables)
    Hope this helps.
    -Chris

  • Row highlighting with Jquery

    Hi,
    I heard a lot of good things about Jquery. I was trying to see for myself how to get Jquery to work with APEX. I've this sample code snippet that does row highlighting when hovering over a table row. The code works as a html file but I can't seem to get it to work with APEX. Here's the procedure I follow in APEX:
    1. Uploaded the jquery library into APEX workspace.
    2. Modify the page template to include the jquery library. I had rename the jquery library to "jqmin_126.hs"
    &lt;script src="#APP_IMAGES#jqmin_126.js" type="text/javascript"&gt;&lt;/script&gt;
    3. Added the code snippet to the html header of APEX report page.
    &lt;style type="text/css"&gt;
    .highlight {
    background-color: #FC6 !important;
    &lt;/style&gt;
    &lt;script type="text/javascript"&gt;
    $(document).ready(function( ) {
    $('table.default1 tbody tr').mouseover(function() {
    $(this).addClass('highlight');
    $(this).css('cursor','pointer');
    }).mouseout(function() {
    $(this).removeClass('highlight');
    &lt;/script&gt;
    To keep things simple, I used the following APEX settings:
    Template: Reports region
    Report template: Default: Look 1
    Version of APEX : 3.1.2
    My interest here is mostly trying to see how jquery works with APEX and not so much the row highlighting. What am I missing?
    Thanks in advance.

    I ran into this problem as well. What happened to me is that the style associated for the TD tag was overwriting the style for the TR tag. So even though I was adding and removing classes to the TR the page would not reflect the changes.
    I would first make sure the Jquery is working by adding the following to my header section.
    $(document).ready(function( ) {
      alert('Jquery is working');
    });If it is working I would try adding .find("td") to edit the CSS of each table data thus changing the background of the row.
    <script type="text/javascript">
      $(document).ready(function( ) {
        $('table.default1 tbody tr').mouseover(function() {
          $(this).find("td").addClass('highlight');
          $(this).find("td").css('cursor','pointer');
        }).mouseout(function() {
          $(this).find("td").removeClass('highlight');
    </script>Hope this can point you in the right direction.
    Tyson
    Edited by: Tyson Jouglet on Nov 24, 2008 9:31 AM

  • Row highlight does not work when class has a background-clolor

    This is more a CSS / javascript question but since the problem occurs in Apex I'll try my luck here.
    I try to implement a row highlight feature that worked in 3.2 but not in 4.0. The difference is that the style that is used for the table cells contains a background-color in the 4.0 template and it did not in 3.2.
    This is how it works.
    I created a report template with "before each row" : <tr onMouseOver="cOn(this);" onMouseOut="cOut(this);">
    The javascript does this:
    function cOn(td) {
       if(document.getElementById||(document.all && !(document.getElementById))) {
          if (td.previousSibling != null) {
              td.style.backgroundColor="#FFFF99";
              td.style.color="#000000";         
    }My thought was that td.style.backgroundColor="#FFFF99" would overrule the background color given by the class but when this happens from within javascript this does not work. Is this proper behaviour? Are there other methods that will work?

    Hi Rene
    If you are just looking for a row highlight on a mouse hover, it might be easier to place the following in the html header of the page:
    <style = text/css>
    .apexir_WORKSHEET_DATA tr:hover td {
    background-color: #FFFF99 !important;
    color: #000000 !important;
    </style>
    ~Andrew Schultz

  • IR row highlight colouring

    In Apex 4, if I set a row highlight in an interactive report to be dark blue background with white text, the row gets highlighted correctly, but the key that appeara at the top of the report has dark blue background and black text, making it difficult to read - in apex 3.2 the key reflected the row colouring. Is there a way to change this?

    Hi Lance,
    This is no problem - pleae check out the user guide first. It contains many practical examples. For example the 5.5 User guide contains an example for this on page 2-43
    "Conditionally Highlighting a row". Get the latest user guide, we also add more information.
    A very simple way to achieve what you want to have 3 rows - how many colors you want.
    Then you put an if statetement (?<if:...?> in the beginning of the first cell of each and the end statement at the end of the last cell (<?end if?>). Then the correct row will be selected for each color.
    |<?if:AMOUNT=0?>| COLUMNS WITH WHITE BACKGROUND | LAST <?end if?>|
    |<?if:AMOUNT>0?>| COLUMNS WITH RED BACKGROUND | LAST <?end if?>|
    |<?if:AMOUNT<0?>| COLUMNS WITH GREEN BACKGROUND | LAST <?end if?>|
    Hope this helps,
    Klaus

  • JDEV 10.1.3.3 ADF Table Row Highlighting onMouseOver

    I am working with JDEV 10.1.3.3 and I have the following requirement for an ADF table.
    When a user's mouse hovers over a table row, the table row should be highlighted and a title should pop up displaying the value of a hidden column in the table. In html, this would look something like the following:
    <tr on mouseover="this.bgColor='#elcda7'" on mouseout="this.bgColor='<whatever the current row color is>'" title="Opportunity Primary: <% name %>">
    Can anyone help? Thank you!

    What i want to know is if we have some date to uix support in jdev 10.1.3

  • What is the diffrence between Row id and primary key ?

    dear all
    my question is about creating materialized views parameters (With Rowid and
    With Primary kry)
    my master table contains a primary key
    and i created my materialized view as follow:
    CREATE MATERIALIZED VIEW LV_BULLETIN_MV
    TABLESPACE USERS
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    REFRESH FAST ON DEMAND
    WITH PRIMARY KEY
    AS
    SELECT
    BCODE ID, BTYPE BTYPE_ID,
    BDATE THE_DATE,SYMBOL_CODE STOCK_CODE,
    BHEAD DESC_E, BHEADARB DESC_A,
    BMSG TEXT_E, BMSGARB TEXT_A,
    BURL URL, BTIME THE_TIME
    FROM BULLETIN@egid_sefit;
    I need to know is there a diffrence between using (with row id) and (with primary key) on the performance of the query?

    Hi again,
    fast refreshing complex views based on rowids, according to the previous subject.
    (You're example shows that) are not possible.
    Complex remote (replication) snapshots cannot be based on Rowid too.
    for 10.1
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_6002.htm#sthref5054
    for 10.2
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6002.htm#sthref6873
    So I guess (didn't check it) that this applies ONLY to replication snapshots.
    This is not documented clearly though (documentation bug ?!)
    Documentation states that the following is generally not possible with Rowid MVIEWS:
    Distinct or aggregate functions
    GROUP BY or CONNECT BY clauses
    Subqueries
    Joins
    Set operations
    Rowid materialized views are not eligible for fast refresh after a master table reorganization until a complete refresh has been performed.
    The main purpose of my statements was to try to give a few tips how to avoid common problems with this complex subject, like for example: being able to CREATE an MVIEW with fast refresh clause does not really guarantee that it will refresh fast in the long run (reorganisation, partition changes) if ROWID based, further the rowid mviews have limitations according to the documentation (no group by, no connect by, link see above) plus fast refresh means only to use filter columnns of the mview logs, plus for aggregates you need additional count (*) pseudo columns.
    kind regards
    Karsten

  • I cannot change song order on playlist with highlight and drag. I have turned off shuffle and highlighted the far left column( up/down arrow) of playlist. My mac pro is running 10.5.8  and am using itunes 10.4.

    I cannot change song order on playlists (old or new) with highlight and drag. I have turned off shuffle and highlighted the far left column (up/down arrow) of playlist. My mac pro is running 10.5.8  and am using itunes 10.4. I can't drag and drop "music" to "playlist" but can right click and get the option to "add to playlist." No such option for moving song within playlist, only the up and down arrow which moves song from top to bottom list, so if it is #4 from top it will move to #4 from bottom. Stupid I know. I spent over an hour with Apple support, reinstalled itunes, restarted and rebooted computer. Networked with my laptop which is running 10.6.8 and itunes 10.4 and it can drag and drop. The final Apple support solution was to reinstall my operating system. I would prefer not to. Any other ideas?

    After looking at other people's posts, I think it's official: there is a bug. Itunes support said I should not have lost the drag/drop tool and I haven't on the laptop that is running itunes 10.4 and operating system 10.6.8. I chatted with someboby who lost both his drag/drop and side scroll and what we have in common is a wacom tablet for a mouse. My laptop is a wireless mouse. I reinstalled whatever updated driver that wacom has out there, shut the system down for night, hoping for magic, but alas none to be had. So if I want to change song order, I network the laptop and desktop, share the screen on the laptop, drag and drop to my heart's content and curse Apple for making me work this hard to find the tool that was once at my fingertips. Apple also let me know that if I want to share songs in household that the hundreds on songs that were purchased for .99 need to be repurchased for another .30. Maybe Apple is holding my drag/drop tool captive til I pay up the money or Maybe the next update will fix the problem, I for one give up for now.

  • APEX bug:9879227 (ORA-01403: no data found error when using validations)

    Hi,
    We are getting the
    ORA-01403: no data found error
    when the APEX page has validations AND a tabular form is also present on the page.
    I did see a couple of other forum links discussing the issue (bug id: 9879227 ?? ).
    But what i want to get a confirmation on is, in which release was this bug really fixed ?
    i see the release notes of 4.0.1.00.03 claiming that it is fixed
    in the release.
    we are on 4.0.1.00.03. is this bug really solved in release 4.0.1.00.03?
    are there any known work-arounds ? i tried re-creating the report multiple times, but that did not help.
    Any suggestions or work-arounds will greatly help us.
    Regards,
    Ramakrishnan

    Ramakrishnan,
    If you are talking about getting no data found when trying to save the report then take a look at the last message in this thread:
    {message:id=9971445}
    Cheers,
    Tyson Jouglet

  • Apex Report Very Slow And Aborts

    Hello All.
    I am using Apex 2.2.1 and have created a report region in which I retrieve upto 1500 rows in a report. The underlying report query is a function returning a SELECT statement in which search criteria are made part of the SELECT only if the user has actually typed-in any values for the search criteria fields on the Apex region.
    I also have a "Display" drop down list populated by a hard-coded LOV. Users can select the number of rows desired in the report by choosing one of: "10", "20",
    "50", "100", "200", "500", "1000", "5000" from the drop down.
    I've set the following fields in the "report Section":
    "Report Template" set to Template: 10. Standard
    "Show NULL Values as" set to empty
    "Pagination Scheme" set to Row Ranges 1-15 16-30 in select list (with pagination)
    "Display Position" set to Top and Botton - Left
    "Number Of Rows" set to empty
    "Number Of Rows (Item)" set to P13_ROWS - this is my Display select list
    "Maximum Row Count" set to 5000
    "Strip HTML" set to YES
    The underlying query is not calling any PLSQL functions. It is basically a SELECT
    from a view which is itself a join between two tables. One of these tables has
    1500 rows (each row has 25 columns) while the other has 251000 rows. I am
    selecting one column from this second table.
    Both tables have indexes on the columns used as search criteria and both tables
    and their indexes have been analyzed via DBMS_STATS on Oracle 10gR2. The
    PARALLEL option is NOT enabled on any of these tables or indexes.
    When I run the underlying query (that results from my report function) in SQLPLUS,
    it returns all 1500 rows in under 2 seconds.
    When I run the report in Apex (with out any search criteria), the following occurs.
    When the Display drop down is set to "10", the report returns 10 rows within 1 second.
    When Display = "50", the time takes about 3 seconds.
    When Display = "200", it takes 10 seconds.
    When Display = "500", the report "sits there" for over 30 seconds and then
    literally aborts. The only error message I get is that the "operation could not
    be completed". There is no ORA error message. I checked with our DBA
    and there is nothing in the Oracle server Alert Log. I appended &p_trace=YES
    to my report url and ran the resulting trace file through TKPROF. All looks good.
    What is causing this report to abort and to take so terribly slow?
    It appears to be somehow associated with the "Display" drop down list value,
    but I'm puzzled as to why. As mentioned, the report query in SQLPLUS runs
    to completion in under 2 seconds.
    Any help would be greatly appreciated.
    Thank you.
    Elie

    Hi, Keith.
    I tried the pagination scheme "Row Ranges X to Y (with next and previous links)".
    This caused the same problem - my page aborts with the error message:
    "Internet Explorer cannot open the Intenet site https://oraweb.slac.stanford.edu/apex/slacprod/f?p=116:13:439623456781::NO:::
    Operation aborted"
    I even removed pagination altogether and still got the same error.
    Futhermore, it is sporadic. At times I invoke the report with 500 rows and it
    displays without problem. And then, 5 seconds later, I run the re-run the report (again asking to display 500 rows), and it aborts.
    This report worked without error (it was "slow", but worked) two weeks ago. But now, it is failing. My gut feeling is that my problem lies with out Oracle
    Application Server. I have the feeling that our DBA's have changed some
    sort of configuration (a buffer, perhaps) that is causing my problem. Not sure
    about this. I guess I'm reaching for straws at this point.
    Thanks for your help. It is appreciated.
    Elie

Maybe you are looking for

  • Unbalanced BW hierarchies in Webi

    Hi all. I have an issue with interpreting unbalanced hierachies from BW in WebI. The issue occurs when importing a SAP Bex Query, containing an Infoobject bearing a hierarchy - in this case 0ORGUNIT. The problem occurs when trying to show 0EMPLOYEE p

  • Error : PRC: Generate Draft Revenue for a Single Project

    Dear all, I'm using Project using Cost / Cost as revenue accrual/Billing method and I try to Generate Draft Revenue but I have a problem Please suggest what could be wrong. Log file : Projects: Version : 11.5.0 - Development Copyright (c) 1979, 1999,

  • Error while doing depreciation forecast

    Hi, While doing depreciation forecast in S_ALR_87012026 we are getting error - "Fiscal year change not yet made for company code LTIC" Same error is given while checking asset balances via S_ALR_87011963 .

  • Strange white, grey dots after editing time and date

    Hi, I have a strange problem with iWork Pages (and Numbers as well). When I use the "edit date & time" option or double click on the selected date in my file... Well, each time I use it, one white dot appears on my screen. The dot is more like a very

  • Custom form moved to 10g becomes slow

    Hi All, We have a custom form that works fine in the 11.5.10 instance. We have moved the form to an instance which is upgraded to 10g. The form is compiled with out any errors but when we query the form for certain conditions it becomes slow and is n