IR report visible cell based on the value of the hidden highlight column

I have an IR with a date in the format DD-MON-AA column.  I have an obligation to change the background color of the date cell according to the day of the week (2 yellow =, 3 = purple, etc.), where Monday is day 2, Tuesday is the day 3, etc.

My idea on how to proceed was to create a hidden like this to_char (date_col, 'r') column, but I can not set the background color of the date column based on the value of another column (the column hidden in this case). 

Any ideas on how I can do this?  Can I use the Expression of implementation form/HTML column on the column date to set the background color; If so, can you give an example?

Thank you.

Use column formatting

#COLTOHIGHLIGHT #.

Add css to the page

Tags: Database

Similar Questions

  • Interactive report based on the hidden column cell color

    Hello

    APEX 5.0.1 used here.

    How can I set the color of a specific cell (or column) based on a hidden column?

    Seems the link that I can't use the built-in feature because I need the custom color returned by my request.

    I tried to set the color with javascript by iterate over each line, by taking the value. text() of the color column and value

    This color-specific cell. It works, but it requires the column is visible.

    A column containing a hexadecimal value of the color does not look good...

    I tried to hide / display: no column complete but this messes up the layout.

    THX

    the force says:

    APEX 5.0.1 used here.

    How can I set the color of a specific cell (or column) based on a hidden column?

    Seems the link that I can't use the built-in feature because I need the custom color returned by my request.

    I tried to set the color with javascript by iterate over each line, by taking the value. text() of the color column and value

    This color-specific cell. It works, but it requires the column is visible.

    A column containing a hexadecimal value of the color does not look good...

    I tried to hide / display: no column complete but this messes up the layout.

    Specify the color of cell required using the hidden column and a data attribute to the property Expression of HTML in the column:

    #VISIBLE_COLUMN_ALIAS#

    Apply a static ID of the visible column to serve as a selector, jQuery, and you can access the invisible color value in your JS code in dynamic action to run the JavaScript Code using the dataset property.

  • Contents of a cell based on the value of another

    Hello

    I have a sheet with several table (DATA and PREP).

    I used the 'FEATURES' table to fill the cells being DRAFTED.

    For PREP::C1, I have this formula: "= DATA::A13" (a chemical name).

    But, in PREP::D6, I need to have "= DATA::C13" (the chemical concentration).

    In PREP::G3, I need to have "= DATA::F13" (the chemical product prices).

    Is it possible to automatically generate PREP::D6 and PREP::G3 based on PREP::C1? As a formula, saying "even rank, but two columns next."

    I propose PREP::C1 only in column A (such as A1, A2, A3... (AX) and PREP::D6/C1 will always be in column C and F.

    Thank you!

    You can "find" the values of the data table with something like this:

    The formula in D6:

    = INDEX(Data::C,MATCH(C1,Data::A,0)))

    The part of the CORRESPONDENCE of the formula found which line the value of C1 occurs in column A of the data table and the INDEX then seeks the value of this line number in column C of the data table.

    The formula of the G3:

    = INDEX(Data::F,MATCH(C1,Data::A,0)))

    The part of the CORRESPONDENCE of the formula search which line the value of C1 occurs in column A of the data table and the INDEX then seeks the value of this number of line in column F of the data table.

    SG

  • Derivative of a cell based on the value of another cell's true/false

    Hello

    I try to create a list of digital control and would have put cells highlight according to a corresponding value in another cell.

    For example, I would like cell D2 to white if the cell H2 is FALSE, or if the values of H2 is TRUE, I would D2 to be green. I want this for about 20 lines.

    Any suggestions?

    Hi JCR.

    Conditional highlighting rules depend on comparing the value contained in the cell to be highlighted (D2) with a second value. The second value may be fixed (recorded in the rule) or may be contained in a cell of the second.

    In your scenario, the highlight would be independent of the value in D2.

    There are two ways to accomplish what you want using conditional highlighting, highlighting a third cell whose value depends on the value in H2 and whose pointing out will be seen as highlighting of the D2, OR by providing a third cell whose value can match or does not match the value in D2 , the value of H2.

    Since you want to highlight only a single cell, and not a group of cells, the second method is probably more simple here.

    Each cell in the column I contains the following formula, entered in I2, and filled then down on the rest of the column:

    I2: = IF (H, D, "xxx")

    English: If the cell in this row of column H is set to TRUE (enabled), copy the value in this row of column D to this cell. If not, put "xxx" in this cell.

    'xxx' can be any value that will be ever present in the cells in column D.

    The below table conditional formatting rule is placed in cells D2 - D10. The cell reference is to the cell "this rank" in column I and is different for each cell.

    Kind regards

    Barry

  • How to make Player Mobile (IOS/Android) to fill the shape cells based on the entry in the other cell?

    Hi, is there a way to make Acrobat Reader Mobile (Android/IOS) to fill the shape cells based on entry into another cell?

    I did a time sheet were based on a code entry activity in a description drop-down list box that matches the activity code is displayed automatically in another cell. (see below)

    This works perfectly as long as I'm on a PC, however, does not work on any phone. (I guess that this feature is not yet supported on Acrobat Mobile)

    My question is if anyone can suggest an alternative method for characteristic mentioned that also works on phones?

    Any suggestion would be appreciated

    In the Format field:

    If (Event.willCommit)

    {

    Console.println (Event.value);

    Switch (Event.value)

    {

    case ' 1 01 ":

    this.getField("REMARK1").value = "unloading".

    break;

    case "2 01":

    this.getField("REMARK1").value = "preparing."

    break;

    .

    .

    .

    case "19 44":

    this.getField("REMARK1").value = 'Support-3rd part insp/contract.';

    break;   case "": ""

    this.getField("REMARK1").value = "";

    break;

    }

    }

    Sincerely: Robert

    Try to get rid of this console.println statement. If this does not help, it should work if you convert that from a script from the drop-down list format in a calculation of the field REMARK1 script.

  • Change the color of cell based on the text in another cell.

    Hey everybody, hoping that I can get some advice. I searched autour and finds only advice exceeded on a previous version of a number.

    I use 3 numbers

    Very simple question, in the hope of a simple answer

    Above is what I want the result to be.

    The "Number" column is a pop-up menu with a list of different text. I wish that the color of cell status change depending on which element is selected.

    I looked in the conditional highlighting, but it doesn't seem to be what I'm after. I would be able to get this working with formulas or a mixture of both?

    Thanks in advance for your help.

    Hi .adams,

    I do not understand the cells that you compare to get a color. It is a cell in the left column or a cell in the right column?

    Please tell us your overall goal: 'what' you want to do, rather than "how" to achieve this.

    More information, will lead to a solution.

    Kind regards

    Ian.

  • The Master Table column updated based on the sum of column Table detail


    With the help of JDev 11.1.1.6.

    I have a master-detail table based on a link to BC.

    The main table has a column that displays an InputText or an OutputText, based on the value in another column.

    If the InputText is displayed, the user can enter a value and the database will be updated with that value.

    If the OutputText is displayed, it must be a sum of a column in the secondary table.  Also, this value will be written in the database.

    Question:

    How can I fill the OutputText in the main table with the sum of the values in a column in the secondary table?

    The detail table column is a manually entered InputText field.

    Thank you.

    Create a spike in the main table and write in its expression as follows - DetailVoAccessorName.sum ("ColumnName");

    This will calculate the sum of column table detail and then you can set the value of the transient attribute to attribute DB on backup operation

    Ashish

  • Calculate the percentage based on the other 2 columns column

    I did 2 columns. These two columns are column_a = separate count of all documents and
    column_b = separate count of the subset of records based on the specific condition.
    I try to get column_3 = (column_b/column_a) * 100
    These 2 columns comes from the same physical tables but two different logical tables (I have the condition where the different for each)
    Result is correct (100) where column_a = column_b, but I get 0 when they are different
    col_a, col_b %
    8 7 0 why not 87.5
    1 1 100
    27 23 0 why not 85.2

    NP, any chance of some reputation points if this has been helpful?
    Thank you

  • Make visible subform based on the dropdown value

    I use this script successfully.

    Form1. #subform [0]. typeOfIncidentDdl::change - (JavaScript, client)
    assocInfoSubform.presence = 'hidden ';
    custInfoSubform.presence = 'hidden ';

    If (xfa.event.newText == "associate injuries") {}

    assocInfoSubform.presence = "visible";


    } else {}
    custInfoSubform.presence = "visible";

    }

    But I would like to know how can I use numeric values in the object palette instead. For a drop-down list in the object > tab link, I click on the checkbox 'specify item values', where the values are, by default, the numbers, and the text is something I've specified in the tab field under "Items in the list." What is the syntax for the use of these numerical values instead of text? Here's what I tried without success.

    If xfa.resolvNode(form1.#subform[0].typeOfIncidentDdl).value = "1"; {
    [fields become visible and required with error messages]


    } else {}
    [fields are hidden and not required]
    }

    And this:

    var oSubform = xfa.resolveNode("form1.#subform[0].typeOfIncidentDdl.Value");
    If (oSubform = 1); {

    etc.

    And this:

    var oSubform = xfa.resolveNode("form1.#subform[0].typeOfIncidentDdl.rawValue");
    If (oSubform = 1); {

    etc.

    I need to be close, but I don't quite have the correct syntax. Thank you for pointing me in the right direction.

    Hello

    Good man Jono, I cracked switch statements based on his examples

    I suspect that this is part of the reverse lookup that explained Paul.

    My understanding (now):

    • xfa.event.newText is the new value, but it is not yet fully committed to the value of the drop-down list.
    • With the help of this.boundItem (xfa.event.newText); you use this newly modified (but not yet posted) value and it controls against known display items.
    • The switch statement then uses this display element, rather than the uncommitted newText.

    I still think I have uses the event exit and rawValue, but "if it ain't broke, don't fix it!"

    Good luck

    Niall

  • How to format a single cell based on the value in another cell?

    IM using JDEV 11.1.2.4 and had the following use cases.

    based on a threshold value in a column of my line, I want to show a different value in the color red.

    How to get there?

    Hello

    This could be a possible solution using inlineStyle and a simple logic of EL

    inlineStyle = ' #{rank. " TRESHOLD > 10? "{" color: #990000 ': "color: #000000 '} '.

    ID = "ot1" / >

    Marc

  • Report, SQL query based on the values of the elements (question SQL)

    Hello

    I use APEX 4.0 with Oracle 10 g r2 under Windows XP Pro SP3.

    I have an interactive report and a menu with a few items to filter the report.

    It works with most of the elements, but my problem is to select lists that have additional values, for example:
    SELECT '(null)' display_value, 'NULL' return_value FROM DUAL
    UNION ALL
    select distinct(SPAT_AREA_NAME) display_value, SPAT_AREA_NAME return_value 
    from SPATIAL_POINTS
    order by 1
    and I will return null as ' (return '%').

    For example, if the user selects "(null)", the report should return all rows with a NULL value in the column AREA_NAME.
    If he chooses "", the report should return all the lines. "
    and if the user selects a value, the report should return all the lines containing the value in column AREA_NAME.

    I don't know how to build my application. I tried with the CASE statements, DECODE, etc... but I still can't!

    My report query is for now:
    select SPAT_ID,
     SPAT_ACCL_NAME,
     SPAT_AREA_NAME,
     SPAT_CLASS,
     SPAT_NUMBER,
     SPAT_PT,
     SPAT_TYPE,
     SPAT_STATUS,
    from SPATIAL_POINTS 
    where 
     upper(SPAT_AREA_NAME) LIKE upper(:P3_FILTRE_AREA_NAME)  AND
     upper(SPAT_ACCL_NAME) LIKE upper(:P3_FILTRE_ACC_NAME) AND
     upper(SPAT_CLASS) LIKE '%'||upper(:P3_SPATIAL_CLASS)||'%' AND
     instr(upper(:P3_SPATIAL_TYPE_VALUES),upper(SPAT_TYPE)) > 0 AND
     instr(upper(:P3_SPATIAL_STATUS_VALUES),upper(SPAT_STATUS)) > 0 AND
     instr(upper(:P3_SPATIAL_POINT_VALUES),upper(SPAT_PT)) > 0
    Any idea?

    Thank you!

    Yann.

    Hello

    Then, assuming that spat_accl_name is not a string value "NULL" then you can try this...

    SELECT spat_id,
           spat_accl_name,
           spat_area_name,
           spat_class,
           spat_number,
           spat_pt,
           spat_type,
           spat_status,
           ROUND(spat_cumul,
                 (SELECT up_number_precision
                  FROM   user_preferences
                  WHERE  UPPER(up_nice_login) = UPPER(v('APP_USER'))))
              AS "SPAT_CUMUL"
    FROM   spatial_points
    WHERE  :p3_filtre_acc_name IS NULL AND spat_accl_name IS NULL
           OR(CASE
                 WHEN :p3_filtre_acc_name = '%' THEN NVL(spat_accl_name,'NULL')
                 ELSE :p3_filtre_acc_name
              END = NVL(spat_accl_name, 'NULL'))
    

    See you soon

    Ben

  • Change the color of cell based on the first character of the value of the field

    Inside of a RTF model, I have a field called I_DESCRIPTION.

    If the first character of the value of I_DESCRIPTION is 'E' then I want the table cell to be red. Otherwise, I want it to be blue.

    I thought I'd be able to use the following type of code:
    <?xdoxslt:ifelse(substring(I_DESCRIPTION,1,1)='E', 'IT IS E', 'Not E')?>
    The above works. The only problem is, I don't know how to change the above, so that instead of print 'IT IS E' or 'NOT E' it changes the color of the cell in the table in red or blue.

    I guess I have to put something like the following in the second and the third argument to the ifelse() function:
    <?attribute@incontext:background-color;'#FF0000'?>
    But after much trying, I can't work on everything at is how this fits.

    Ideas or suggestions appreciated.

    Thank you
    Andy

    Hi Andy,.

    You can try this:

    1. in the cell where you view the description field, insert a form of conditional formatting field and use the following code: Red

    You will need to check the condition of other another field of form CF: Blue

    Hope this helps.
    Thank you!

  • Formula need to count cells based on the number of week

    I have a table used to track dates of contact with a client.  A column calculates the WEEKNUM of the date of contact.

    Week NUM

    Date

    First name

    2

    04/01/2016

    Amanda

    3

    16/01/2016

    Robert

    4

    17/01/2016

    Rosie

    6

    01/02/2016

    John

    6

    02/02/2016

    Soledad

    9

    21/02/2016

    Charles

    9

    24/02/2016

    Mary

    9

    25/02/2016

    Quince

    12

    17/03/2016

    Bob

    12

    17/03/2016

    Donald

    14

    03/31/2016

    Cathy

    14

    01/04/2016

    Shanna

    19

    02/05/2016

    Laura

    I need to report the number of contacts per week, so I mounted a second table with the week number in the first column.  Each line corresponds to the number of week.  I'm trying to use the function of COUNTIES to count the number of contacts in which the number of the week of the first table is equal to the week of the second table, but I can't get it to work.  Is there a way to do this?

    Week NUM

    Number of contacts

    expected outcome of the formula

    1

    0

    2

    1

    3

    1

    4

    1

    5

    0

    6

    2

    7

    0

    8

    0

    9

    3

    10

    0

    11

    0

    12

    2

    13

    0

    14

    2

    15

    0

    16

    0

    17

    0

    18

    0

    19

    1

    20

    0

    Never mind.  I'm a fool.  COUNTIF does it, and I'm stuck trying to make COUNTIF work.

  • Create a report of material based on the category tag?

    Hey guys!

    I am creating a report on the hardware of all virtual machines with a certain category of tag.  The most important things I need are really CPU, memory and disk size.  I modified a report I found that the inventory of all virtual machines in a data center and return this information.  I'm not sure what I missed at the top when trying to convert to return information to the material in the category 'SAMPLE '.  Is there someone who can take a look at this and point me in the right direction?

    Thank you!

    $VmInfo = ForEach ($VM in (Get-TagAssignment-category 'SAMPLE' |)) Sort - Object - property name)) {}

    "" | Select-Object - property @{N = "VM"; E = {$VM. Name}},

    @{N = "VM CPU #";} E = {$vm. ExtensionData.Config.Hardware.NumCPU/$vm. ExtensionData.Config.Hardware.NumCoresPerSocket}},

    @{N = "" VM CPU Core # ";"} E = {$vm. NumCPU}},

    @{N = 'Host'; E = {$vm. VMHost.Name}},

    @{N = 'Hard drive'; E = {$harddisk. Name}},

    @{N = "Datastore"; E = {$harddisk. FileName.Split("]") [0]. TrimStart("[")}},

    @{N = "VMDKpath"; E = {$harddisk. FileName}},

    @{N = 'VMDK size'; E = {($vm.extensiondata.layoutex.file|?)} ({$_ .name - contains $harddisk.filename.replace(".","-flat.")}). size/1 GB}},

    @{N = "size walk"; E = {$harddisk. CapacityGB}}

    }

    $VmInfo | Export-Csv - NoTypeInformation - UseCulture-Path "c:\scripts\reports\report.csv".

    Try like this

    $tagCat = get-TagCategory-name "SAMPLE".

    $tags = get-Tag-category $tagCat

    $VmInfo = ForEach ($VM in (Get-VM-Tag $tags |)) Sort - Object - property name)) {}

    foreach ($Harddisk in Get-disk hard - VM $VM) {}

    "" | Select-Object - property @{N = "VM"; E = {$VM. Name}},

    @{N = "VM CPU #";} E = {$vm. ExtensionData.Config.Hardware.NumCPU/$vm. ExtensionData.Config.Hardware.NumCoresPerSocket}},

    @{N = "" VM CPU Core # ";"} E = {$vm. NumCPU}},

    @{N = 'Host'; E = {$vm. VMHost.Name}},

    @{N = 'Hard drive'; E = {$harddisk. Name}},

    @{N = "Datastore"; E = {$harddisk. FileName.Split("]") [0]. TrimStart("[")}},

    @{N = "VMDKpath"; E = {$harddisk. FileName}},

    @{N = 'VMDK size'; E = {($vm.extensiondata.layoutex.file|?)} ({$_ .name - contains $harddisk.filename.replace(".","-flat.")}). size/1 GB}},

    @{N = "size walk"; E = {$harddisk. CapacityGB}}

    }

    }

    $VmInfo | Export-Csv - NoTypeInformation - UseCulture-Path "c:\scripts\reports\report.csv".

  • How to highlight the line of the ADF table based on the value of the column?

    Hi all

    I use jdev 10.1.3.4. I want to highlight a table row or a cell based on the value of the column.

    Lets say, I have a table emp with column empid, empname and sal. I want to emphasize the lines that have sal = 10000.

    How can I achieve this? Please help me with this.

    Thank you
    Abhijit

    Hello

    You want to highlight the lines? or set a different color for the lines? If it's the second, you can set the inline style based on the salary. (+ Edit: well, never mind, both are same :)) +)

    Something like

    
    

    If you want the entire line to be a different color, you have 2 options.

    1. define the same style inline for all columns in the table (good if you want to do only for a single table).
    2. create a style class and apply the styleclass based on the value of sal (preferably if you want the same behavior in all of your application).

    Arun-

    Published by: joel Ramamoorthy, October 23, 2009 16:56

Maybe you are looking for

  • "Dual monitor Expand" doesn't work is not for t5740 with WES 2009.

    We do the following procedure to configure all our years TC bi-ecrans. 1. flash the tC, customize it to our needs. 2 join to the domain 3. log in with Admin Creds, change default display settings: display properties-> settings tab-> "extend my deskto

  • What is an SMTP server?

    What do I put in the outgoing box which is an SMTP server

  • With the help of a enum with SecondaryKey using DPL

    HelloI read in past posts that enums couldn't be used with the keys, but I can't see that it turns out that they are supported according to:PrimaryKey (Oracle - Berkeley DB Java Edition API)They can also be used as a SecondayKey with a ManytoOne rela

  • You can import and edit RAW files on a Samsung Tablet?

    I am looking for a Tablet (Samsung, with a stylus,-because of the cost savings) to use mobile Lr for import and review my RAW files on a trip (wireless or using a card reader).  I won't have access to a computer/laptop, so this is why I want to get a

  • Challenge of re - download

    Migrated to new Macbook Pro. When you try to open the PS on the new laptop, message appears indicating that PS is damaged and needs to re - install.  Even after registration on the Adobe account (having an active participation of the CC PS) and navig