Column highlighting

Is it possible to highlight a column in interactive report ?
Sanjay

highlight all cells(td) under SAL(th) column.Aah , now I got you.
How about
$('table.apexir_WORKSHEET_DATA th').live('click', function(){
  this_header = $(this).attr('id');
  $('table.apexir_WORKSHEET_DATA td[headers^="'+ this_header+ '"]').toggleClass('highlight');
});CSS
<style>
  #apexir_DATA_PANEL .apexir_WORKSHEET_DATA tr td.highlight{
     background-color:YELLOW;
</style>For Standard reports, the table selector would have to be changed to be
table.report-standard

Similar Messages

  • Column Highlighting Not Working in Chrome or Firefox but works in IE

    Version  4.1.1.00.23
    Hello,
    I have a classic report that I'm trying to apply dynamic column highlighting on.
    I'm following the discussion from Jari https://forums.oracle.com/thread/2209261
    The columns to be highlighted are being determined from a table that gets set every month and the value are being selected in the report query.
    The javascript that is in the Region Footer is:
    [code]
    <script type="text/javascript">
        $(function()
            $('##REGION_ID# input[name="f01"]').each(function(i)
                if ($x('f01').value == 1)
                    var forcast = "JANFORECAST";
                    var actual  = "JANACTUALS";
                    var mth_var = "JANVAR";
                    var mth_var_pnct = "JANVARPER";
                if ($x('f01').value == 2)
                    var forcast = "FEBFORECAST";
                    var actual  = "FEBACTUALS";
                    var mth_var = "FEBVAR";
                    var mth_var_pnct = "FEBVARPER";
                if ($x('f01').value == 3)
                    var forcast = "MARFORECAST";
                    var actual  = "MARACTUALS";
                    var mth_var = "MARVAR";
                    var mth_var_pnct = "MARVARPER";
                if ($x('f01').value == 4)
                    var forcast = "APRFORECAST";
                    var actual  = "APRACTUALS";
                    var mth_var = "APRVAR";
                    var mth_var_pnct = "APRVARPER";
                if ($x('f01').value == 5)
                    var forcast = "MAYFORECAST";
                    var actual  = "MAYACTUALS";
                    var mth_var = "MAYVAR";
                    var mth_var_pnct = "MAYVARPER";
                if ($x('f01').value == 6)
                    var forcast = "JUNFORECAST";
                    var actual  = "JUNACTUALS";
                    var mth_var = "JUNVAR";
                    var mth_var_pnct = "JUNVARPER";
                if ($x('f01').value == 7)
                    var forcast = "JULFORECAST";
                    var actual  = "JULACTUALS";
                    var mth_var = "JULVAR";
                    var mth_var_pnct = "JULVARPER";
                if ($x('f01').value == 8)
                    var forcast = "AUGFORECAST";
                    var actual  = "AUGACTUALS";
                    var mth_var = "AUGVAR";
                    var mth_var_pnct = "AUGVARPER";
                if ($x('f01').value == 9)
                    var forcast = "SEPFORECAST";
                    var actual  = "SEPACTUALS";
                    var mth_var = "SEPVAR";
                    var mth_var_pnct = "SEPVARPER";
                if ($x('f01').value == 10)
                    var forcast = "OCTFORECAST";
                    var actual  = "OCTACTUALS";
                    var mth_var = "OCTVAR";
                    var mth_var_pnct = "OCTVARPER";
                if ($x('f01').value == 11)
                    var forcast = "NOVFORECAST";
                    var actual  = "NOVACTUALS";
                    var mth_var = "NOVVAR";
                    var mth_var_pnct = "NOVVARPER";
                if ($x('f01').value == 12)
                    var forcast = "DECFORECAST";
                    var actual  = "DECACTUALS";
                    var mth_var = "DECVAR";
                    var mth_var_pnct = "DECVARPER";
                $(this).parents("tr:first").find('[headers="' + forcast + '"]').css({"background-color":"silver"});
                $(this).parents("tr:first").find('[headers="' + actual + '"]').css({"background-color":"silver"});
                $(this).parents("tr:first").find('[headers="' + mth_var + '"]').css({"background-color":"silver"});
                $(this).parents("tr:first").find('[headers="' + mth_var_pnct + '"]').css({"background-color":"silver"});
    </script>
    [/code]
    The highlighting works in Internet Explorer, but the same columns are not being highlighted in Chrome or Firefox and there are no errors being reported in either browser.
    Can someone help me with this?
    Is there additional information I can provide that I haven't.
    Thanks,
    Joe

    Hi Fac,
    This is a classic report. After debugging all 3 browsers I finally found the issue.  First, my javascript isn't very good.
    When I looked at the source of the page, I saw that 'F01' contained the value to determine which month's columns to highlight.
    I then thought that if I evaluated the contents of 'F01', using $x('f01').value, that I could set my variables in my if statements.
    During my debugging of the javascript in each of the browsers I came upon the 'this' object being displayed in the watch window. When I expanded the node to view the contents I saw that it also contained the value of the month to highlight as well.
    I have since changed my 'if' statement to if ($x(this).value == <month number> and the hightlighting is working in all 3 browsers correctly.
    Is this still not the right approach as Jari discusses in his post I referenced above?
    Thanks,
    Joe

  • 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

  • Column Highlighted with Color with leadselection on this line...

    Hi, All
    I want to highlight column with Color but when I select on this line the orignal color will overlap the highlighted color, any way to still keep this hightlighted color?

    Hi, All
    I want to highlight column with Color but when I select on this line the orignal color will overlap the highlighted color, any way to still keep this hightlighted color?

  • Partial Triggers and column highlighting

    I've read a few posts about how to conditionally highlight rows in the table.
    Right now I am using this expression to find out if a row in my tree table has not been saved (on the inline style of the column elements).
    #{node.row.entities[0].entityState == 0?'background-color:#FACF94;':''}
    This turns my row orange if it has not been saved.
    However, on this row, I have an input text (it1) that is enabled for user input when the row has not been saved as well.
    When the user enters a number in this input field, a value change listener does a calculation and updates another column/node (outputText1). I can see this other column/node being refreshed because a partial trigger.
    When the outputText1 is updated, ideally I would like that column to be changed to yet another color.
    I've tried a number of things, and I cannot get the color to change again after editing the input text.
    For example, I tried creating a dummy transient value on the view to keep track of whether or not the inputText has changed, then trying to trigger off of that value for the column. But that didn't work.
    Does anyone have any ideas?
    Thanks,
    Joel

    I've solved my issue by adding this to my valueChangeListener:
    AdfFacesContext.getCurrentInstance().addPartialTarget(tableBinding);

  • Tables – highlight row/column on head click

    hello —
    I'm working on styles for tables and would like to know if
    anyone has a simple method to making a row highlight when the the
    head row cell is clicked and the column highlight when the head
    column cell is clicked. — I tired some java script earlier,
    though it's buggy (a flicker) when tested, and the columns are not
    working as well as the rows.

    You can sort tables using DOM methods. I would think you
    could also change highlighting, but don't know for sure. Just
    investigate what methods are available in the DOM or try a search
    for DOM table

  • Newbie questions: 'extracting' values from a single column. Is it possible?

    Hello everybody,
    I'm a pretty newbie user of BI 11. I would like to know if it's possibile to aggregate values by filtering different values in a same column. As my English is quite bad, let me summarize my problem with an example:
    Column A - Number of Recevived Calls -- Column B Caller's Satisfaction Rating
    A: 12 - B: Good
    A: 25 - B: Average
    A: 100 - B: Perfect
    A: 35 - B: Not good enough
    I would like to be able to do some math with single scores as, for instance, to group together good, average and perfect scores and remove the not good enough scores, or, another example, I'd like to calculate the percentage of GOOD ratings on the total number of calls.
    Anyone can help me? I'm a simple user of the BI frontend, so I don't have access to the underlying database structure.
    Sorry for any mistake I made in my English writing and Thanks a lot in advance.

    I assume Column A is a measure. In the edit formula for this column, highlight the column and filter it based on column B. For example you might to filter all the calls for 'Good' then you may divide it by total no of calls or something similar. It might look something like this -- Filter(table.column A USING (table.Column B = 'Good'))/Sum(table.columA)
    you might want to use a combination of case statements as well depending on what you want to achieve.
    for example -- case when table.column B='GOOD' then sum(table.column A) else (sum(table.column A)/(case when table.column B='BAD' then sum(table.column A) end))end
    Give it a try, hope this helps.

  • How to create a report and summarize some columns per page

    Hi all,
    I need to create a HTML report using the OA Framework Extension and it needs summarize some values columns highlighted similar to what can be done when using Report6i. Is there some class or package or a region or page's parameter that permits me to do that?
    I also thought to summarize the values and put them in a table with a column saying that the line is a simple value or a summary and just put those values in html table. My problem still how to hightlight the html table line when the value "summary" is being fetched.
    Any suggestion????
    Thanks in Advance!!!

    Essentially you want to write a pl/sql function which returns a varchar2 string. The contents of the string must be a valid sql statement.
    Once you have done this, you need to add a report region as type sql report and you will have the option of writing it as a query or as a function returning query. Choose function returning query and enter in the function call.
    Note your function must be valid, and must be executable by your apex parsing schema.
    example:
    create or replace
    function test_report(   p1_tablename       in varchar2)
    return varchar2
    is
    v_query varchar2(4000);
    begin
    v_query  :=
    'SELECT * from '||p_tablename;
    return v_query;
    end test_report;Edited by: Keith Jamieson on Aug 15, 2011 4:50 PM

  • How to increase a column width in numbers

    Hello,
    Is there a way to increase the column width of a numbers table by using a short cut.
    In a few words is there any shortcut to increase or decrease the size of cells and columns?
    Something like command+?
    Regards,
    Jonathan M.

    No key commands are available.  You can select the table then use the "Table Formatter":
    These controls will apply to the items selected.  If you have one column highlighted then you can change the width of that one column.  If you select all columns then this control will apply to the selected columns.
    you can also hover the cursor over the dividers between columns (the lines in the header... the lines between, for instance, the "A" and  the "B").  The cursor will change to a vertical bar with a horizontal line with left right arrows, then click and drag as needed.  Similar for rows.

  • How can I make a label for my chart that changes dynamically when I drag selection of data to adjacent column?

    I have a custom budget using Numbers '08 and have labeled a chart in previous versions of my budget but when I tried to update it for the new year I can't figure out how to make the label change dynamically as I drag the selected area to the adjacent column. I have checked Numbers Help and Tutorial videos as wellas the manual and have not found anything that comes close to helping but as I said I had it on previous versions but obviously don't remember how I did it and unfortuanately it is not a very intuitive feature. Thanks in advance for any help on this.

    The linkage appears to be automatic, but when broken, does not reattach itself.
    Redoing the chart isn'r a long process, though, unless you've made extensive format changes to it. Here's my process, which started with a headerless table wiht the Month labels in Row 1 (and a Chart that had an "Untitled" label on the category axis, and ended with the table and chart shown below:
    Click on any cell in the table to activate it.
    Go Table > Add Header Row.
    Select the cells containing the month names. Copy.
    Select the cells in the same columns of the Header row. Paste.
    Select the table. If the Header for the current month is highlighted and the month label is on the table, Stop here.  If not (and it probably will not be), continue.
    Delete the existing Chart (or drag it aside to use as a colour and style reference)
    Unhide any hidden rows used in the Chart.
    Select the cells to be charted.
    Click the Series orientation control (¡¡¡) to change it. The control will turn 90° and move from the column highlight to the row highlight.
    Your table and chart should now resemble the one in the image above. Edit the style as needed and you're done.
    Regards,
    Barry

  • Dynamic PL/SQL IR Highlight

    Hello Forum User,
    I have an IR and a filtering select-list item to choose a specific month.
    Depending on the selection of the select-list item the report values change.
    The column values have a timestamp format like YYYY-MM-DD HH24:MI:SS.
    I manually added IR formats to each column -> highlight cell (on the default report).
    My condition (Example for one column):
    *#ColumnValue# > YYYY-MM-DD 08:00:00* --> Highlight red font.
    On each select-list change, the report is changing the values, the year and month.
    I need a solution, how to change the IR Format - Highlight settings.
    My first try:
    I created a PL/SQL Process to reset the IR filters, formats, highlights, etc.
    begin
    APEX_UTIL.IR_RESET(903);
    end;
    That works so far......
    Now I would like to set or adjust the IR format - Highlights in the PL/SQL process.
    Is this possible or any other solution?
    Thanks!

    Chris-11369135 wrote:
    Hello Forum User,
    I have an IR and a filtering select-list item to choose a specific month.
    Depending on the selection of the select-list item the report values change.
    The column values have a timestamp format like YYYY-MM-DD HH24:MI:SS.
    I manually added IR formats to each column -> highlight cell (on the default report).
    My condition (Example for one column):
    *#ColumnValue# > YYYY-MM-DD 08:00:00* --> Highlight red font.
    On each select-list change, the report is changing the values, the year and month.
    I need a solution, how to change the IR Format - Highlight settings.
    My first try:
    I created a PL/SQL Process to reset the IR filters, formats, highlights, etc.
    begin
    APEX_UTIL.IR_RESET(903);
    end;
    That works so far......
    Now I would like to set or adjust the IR format - Highlights in the PL/SQL process.
    No it is not possible because see http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_ir.htm
    Is this possible or any other solution?Try writing your own javascript code to highlight the rows and put it in a dynamic action with event After Refresh on IR region

  • I have a formula where I want the columns to remain constant but I want the middle number to increase by 1.

    I have a formula,  where I want the columns to remain constant but I want the middle number to increase by 1. How do I do it? =SUMIF($F2:$F45,1,$H2:$H45)
    The first cell contains the correct formula with the columns highlighted. Autofill gives me a red triangle. The columns are no longer highlighted.
    I have done this in Excel. I will learn Numbers!
    Thank you.

    Hi,
    When posting formulas, as a courtesy, please select the formula in the entry bar, Copy, then Paste the formula into your message. This permits the reader to copy the formula directly from the page, paste it into the reply, and edit it there. When pasted as an image, that reader has to read the formula from the image and type it into the reply, increasing the probability of errors creeping in.
    =SUMIF(F2:F10,COLUMNA+1,H2:H10)
    The syntax error is in the part shown in bold. Here is the image of the similar formula from my reply above:
    With the syntax error corrected, your formula would read:
    =SUMIF(F2:F10,COLUMN()+1,H2:H10)
    Restated in English, the formula says:
    "calculate the SUM of all numbers in cells H2 to H10, where the value in the same row of column F is equal to the column number of this cell plus 3."
    In your image, this cell (the cell containing the formula) is C3. That's in column 3, so the value "COLUMN()+3" is 6. Considering the headers in your screen shot, that is probably not what you want to happen.
    NOTE: Your original formula (and mine, modeled on that original) used the $ operator to fix the Column values of the cell references, making them stay the same when the formula is filled right. Your description indicates you want to fill the formula down. Unless you attach the $ operator to the Row part of the cell references, the row value will change as the formula is filled down, producing an 'invalid reference' error when the referenced range extends beyond the bottom of the table.
    Change the range "$F2:$F45" in your original formula to read "F$2:F$45" (and make a similar change to the range in column H) to keep the range the same when the formula is filled down. You'll also need to use ROW()-n in place of COLUMN-n, as filled down. all copies of the formula will be in the same column.
    Regards,
    Barry

  • Javascript - Referencing report column value

    Hi,
    In my application I have a report "Test" with some columns. In column "PFT_PCODE" the possible values are either 1 or 2.
    What I want is to display the report table cell in red, if the value in "PFT_PCODE" is 1, or the table cell in orange, if the value in "PFT_PCODE" is 2, respectively.
    I tried to make something in Javascript, based on a Vikas' example. I put in the
    Region Header:
    <style type="text/css">
    .rot {
    background-color: red;
    .orange {
    background-color: orange;
    </style>
    Region Footer:
    <script type="text/javascript">
    var spans=document.getElementsByTagName('span');
    for (var j=0;j<spans.length;j++) {
    if (spans[j].className=='farbe') {
    var td=html_CascadeUpTill(spans[j],'TD');
    if (document.getElementsById('#PFT_PCODE#').value == 1) {
    td.className = 'rot';
    else {
    td.className = 'orange';
    </script>
    The column "PFT_PCODE" is marked as CSS class "farbe".
    Unfortunately it's not working, I'm not sure if I reference the report column value right. Since I'm a beginner in Javascript I would be glad for help.
    I put my (reduced) application on apex.oracle.com for testing.
    Workspace: app
    Login: [email protected]
    PW: riponi
    Thanks in advance,
    Roger

    Hi Roger,
    In your report, if you do a View Source, do your report headers have id's on them - that is, the TH tags that contain the headings?
    If so, you could use:
    &lt;script type="text/javascript"&gt;
    function hilite(f1)
    var h = document.getElementById(f1);
    var t = h.parentNode;
    while (t.tagName != 'TABLE')
      t = t.parentNode;
    var rows = t.rows;
    var k;
    var j;
    var c;
    var headers = t.getElementsByTagName("TH");
    for (k = 0; k &lt; headers.length; k++)
      if (headers[k].id == f1)
        c = k;
    for (k = 1; k &lt; rows.length; k++)
      j = rows[k].getElementsByTagName("TD")[c];
      if (j.innerHTML == '2')
        j.style.backgroundColor = 'purple';
        j.style.color = 'yellow';
      if (j.innerHTML == '1')
        j.style.backgroundColor = 'red';
        j.style.color = 'white';
    &lt;/script&gt;Put that in the page's HTML Headers setting.
    In the report region's Region Footer, add in:
    &lt;script type="text/javascript"&gt;
    hilite('PFT_PCODE');
    &lt;/script&gt;This will find the heading's TH cell, work out where it is in the row, then loop through all remaining rows and check the TD cell in the same column, highlighting the cell using background and font colours.
    Andy

  • How can I sort alphabetically three columns?

    Hi to everybody!
    I've got some problems sorting alphabetically three columns. If I try to sort one column it changes also the others. I want three independent columns and each of them must be sorted out alphabetically.
    In Excel it's so easy: I just have to select the column and push the button "sort the column alphabetically". Why is that so difficult in numbers?
    Check it out: http://yfrog.com/j6screenshot01tj

    l,
    What is the nature of the content in the three columns? If the content is just data, and not calculations or the input to calculations, you can easily accomplish a single column sort in Numbers.
    I see from your screen shot that you are still in the Excel mindset. You have a large table with more rows and columns empty than occupied. To work most effectively in Numbers we usually use only as many rows and columns as necessary, and if we have data that is of another set and not related, we begin a new table.
    So, if your data meets the requirements of the first paragraph and you have trimmed away the excess rows and columns we can do the following: Click once on the label of the column you wish to independently sort. Then click again on this label and drag it up and away from the table to a blank area of the canvas. Perform the sort on the separated column. Then grab the sorted column in the same way as before and move it over the original table, watching the borders between columns highlight as you move over them. The double line between columns identifies the insertion point. When you have your sorted column in the right place, drop it back into the original table.
    Jerry

  • Getting number for each column value based on Date order

    Hi,
    I have Data look like:
    I need to create new column highlighted in red (Team Number). Even if same team comes in several number of times, it should be tracked as new team with whatever is the next number. For eg. team2 comes second time, its is called as 3. If Team 2 comes again
    then it will be 4.
    Any help is appreciated.
    Thanks,
    Punia 

    Thanks for you reply Ricardo. It does work (but only if select 1 ticket).
    My bad I only posted one Ticket Number. Actually there are lots of them ( as below). Your code take all the tickets as one tickets.
    TicketNumber
    OwningTeam
    Status
    Date
    Team Number
    123
    TEAM 1
    Pick Up
    11/12/2014
    1
    123
    TEAM 1
    Complete
    11/12/2014
    1
    123
    TEAM 2
    Pick Up
    11/12/2014
    2
    123
    TEAM 2
    Complete
    11/12/2014
    2
    123
    TEAM 2
    Resolve
    11/17/2014
    2
    123
    TEAM 2
    Complete
    11/24/2014
    2
    123
    TEAM 2
    Pick Up
    12/8/2014
    2
    123
    TEAM 2
    Complete
    12/9/2014
    2
    123
    TEAM 2
    Provide Info
    12/17/2014
    2
    123
    TEAM 1
    Pick Up
    1/8/2015
    3
    123
    TEAM 1
    Resoved
    1/8/2015
    3
    456
    TEAM 1
    Pick Up
    11/12/2014
    1
    456
    TEAM 1
    Complete
    11/12/2014
    1
    456
    TEAM 2
    Complete
    11/24/2014
    2
    456
    TEAM 2
    Pick Up
    12/8/2014
    2
    456
    TEAM 2
    Complete
    12/9/2014
    2
    456
    TEAM 3
    Pick Up
    12/17/2014
    3
    456
    TEAM 3
    Working
    12/18/2014
    3
    456
    TEAM 1
    Pick Up
    1/8/2015
    4
    456
    TEAM 1
    Resoved
    1/8/2015
    4
    789
    TEAM 1
    Pick Up
    11/12/2014
    1
    789
    TEAM 1
    Complete
    11/12/2014
    1
    789
    TEAM 2
    Complete
    11/24/2014
    2
    789
    TEAM 2
    Pick Up
    12/8/2014
    2
    789
    TEAM 2
    Complete
    12/9/2014
    2
    789
    TEAM 1
    Complete
    12/12/2014
    3
    Any work around is really appreciated.
    Thanks,
    Rajneet

Maybe you are looking for