Hi, need to change the color of line at run time

Hi all

I have columns in the paintings is one of them for YES and it is of TYPE I create two attribute for this and place like this to trigger post_query block-level after that I get what I want the color of the YES and NO, but
NOW I NEED TO CHANGE THE LINE COLOR IN FULL WHAT IT TAKES PLEASE GUIDE

IF: ORDER_TRACKER2. TYPE = "YES" THEN
SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.) TYPE ', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
ON THE OTHER
SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.) TYPE ', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
END IF;

Thanks and greetings
Vikas Singhal
IF :ORDER_TRACKER2.TYPE = 'YES' THEN
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.TYPE', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM1', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM2', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM3', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM4', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM5', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_NO');
ELSE
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.TYPE', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM1', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM2', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM3', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM4', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
  SET_ITEM_INSTANCE_PROPERTY ('ORDER_TRACKER2.ITEM5', CURRENT_RECORD, VISUAL_ATTRIBUTE, 'ATT_YES');
END IF;

Tags: Oracle Development

Similar Questions

  • change the color of line based on the value of column 5 Apex in the classic report

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Hello

    I know this question has been asked several times here, but I'm working on 5 Apex and need to know the correct way to do it in this version.

    I need to change the color of the text of the entire line (no background color) based on the value in one of the columns of the classic report. I have just two conditions, if the value of column = Yes, color should be red, otherwise it must be green.

    I am new to jscript and css, so appreciate if someone can tell me the solution with steps.

    I have already checked this link that changes the value of the column, need to do something similar to the whole line.

    https://tylermuth.WordPress.com/2007/12/01/conditional-column-formatting-in-apex/

    Hi coolmaddy007-Oracle,.

    Here's an example set up on the apex.oracle.com according to the specifications you gave: https://apex.oracle.com/pls/apex/f?p=35467:1

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Here is how it is done:

    Create a dynamic action with the following specifications:

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code:

    $('td[headers="JOB"]').each(function() {
      if ( $(this).text() === 'MANAGER' ) {
        $(this).closest('tr').find('td').css({"color":"red"});
      }
      if ( $(this).text() === 'SALESMAN' ) {
        $(this).closest('tr').find('td').css({"color":"green"});
      }
      if ( $(this).text() === 'CLERK' ) {
        $(this).closest('tr').find('td').css({"color":"blue"});
      }
    });
    

    NOTE: Download the selector appropriate for your knowledge $('td[headers="JOB"]') case using firebug/browser development tools.

    Items concerned: leave blank.

    PS: Changed the example to change the color of text instead of the background color.

    I hope this helps!

    Kind regards

    Kiran

  • Change the color of line based on condition.

    Hello

    Am using jdeveloper 11.1.1.6.0

    I slipped and fell by xxxVO as an array of af in my jspx page.

    This vo has the attribute of gravity which is a component to select only one option.

    I need to change the color line if gravity = 1.

    How can I achieve this.

    Kind regards

    Prasad K T,.

    9840021070.

    Refer

    ADF: color change of the value of the column according to the requirement

  • Need to change the color of flight hover/mouseover on flash file - HELP!

    Hello world

    I am doing a project for work and need to change the color on this file I purchased from iStockPhoto. It's a flash world map file, which highlights the countries you select Green. I just want to change it so that all the highlights are made in red instead, but no am not a flash developer so don't know how to do it. I used flash briefly before for minor changes, but can't seem to find the answer anywhere. I tried Googling it... etc!

    This is the file that I bought.

    http://www.iStockphoto.com/file_closeup.php?id=2788655

    Any ideas would be MUCH appreciated!

    I took a glance at the file you sent. This file was made some time in an older version of Flash. I'm guessing that version 6. The Actionscript code in the movie is AS2. The file is in the scenes and consists of buttons, a lot, a lot, buttons. If you open the movie library, you will see a very long list of items that are used in the film. The first point, Afghanistan, for example is a single country. If you open this button in the editor, you will see there two executives, above. Each country drawing in each of these frameworks is composed of a group. That's why he shows an overview rather than the country in color.

    To change the color for the rollover State:

    1. go to section in addition to a single country.

    2. choose Select all from the Edit menu, or use the keyboard shortcut.

    3. choose a jump outside of the Edit Menu. This will separate each item in the group.

    4. use the selection tool to select the sketch.

    5. in the toolbar, select a new color line and filling for this country.

    Repeat if necessary. Save often. Work of a duplicate of the original film, just in case.

    Simply re-color of each country, the continents are made up of the country.

    I hope you have a lot of time, it will be horribly tedious.

  • Hello, a graphic designer created my logo. I need to change the color from black to white and then make it bigger so I can add it to a T-shirt. I looked online and can't find a way to do it. Please help :)

    Hello, a graphic designer created my logo. I need to change the color from black to white and then make it bigger so I can add it to a T-shirt. I looked online and can't find a way to do it. Help, please

    Guess that's your logo. His place of 1000px

    Select each layer, and then type cmd - I or ctrl-I on the keyboard and that will reverse the color of the objects on the layer. Black is the

    opposite of white

    And then resizing the image size under Select image menu and place values expanded in the dialog box

    as below.

    That's all. It may be useful

    Terri

  • I need to change the background image often when running

    any body help me,.

    I need to change the background image often when running

    concerning

    welcan

    Hello

    You can also use effects rather than a timer, much more enjoyable... following example moves between a series of embedded images.

    David.

    http://gumbo.flashhub.NET/menu/ source included

  • How can I change the color of line in a line graph?

    I used Illustrator to create a line graph. (Not my option you want because I normally import from R and then edit, but the manual wanted to show that you can create graphic and edit them in Illustrator)

    In any case, I did all the editing, except that I can't change the color of the line. My job requires me to match the example of manual and the manual does not provide any instructions on how to do it. I did pretty much any method I can think and the rest always gray line. I'm almost ready to give up everything and lose the points, but something as simple as the color cannot be that hard, right? Right?

    You need spend the focus from filling in the race or the color Panel, or by using the shortcut SHIFT - X. You can use Select > same > Fill and stroke to select all parts of the line and then a Cmd (Ctrl)-J to connect all the parts.

  • Need to change the color of the model

    I realized a customer to a model site and they chose a model that has been a PSD (attached) and I turned into a working site. Now, they say they want it to be blue instead of green it is. I don't know where to start. I guess I need to go to each layer and change the color of a variant of blue. Is there a quick way to do it? I don't know yet how to change colors. Any help would be greatly appreciated.

    Thank you!

    You don't need to do this for each layer. Only those with the color of the Web page elements and only those that are visible. (eyeball on in the layers panel)

    When you select the layer, and then you go to the Image menu, settings and select Variations. You can interactively experiment until you find what's best.

    My layer thumbnails are large so I can see at a glance what I look at. Use the layers panel menu to display Options Panel and select large thumbnails.

    Of course save this model before loading in the PS, in case you should do more.

    That should help you get started.

  • Change the color of lines, such as the quick selection selection

    Is there anyway to change the color of the selection of black moving dashes (ants), a selection tool, such as the quick selection?

    No, sorry.

    If you could, it would be in the preferences. It is not the case.

    You can hide the mobile dotted with Cmd + H (Ctrl + H)

  • How to change the color of line according to the value of the column

    Hi all

    I have an obligation to change the color of the column based on the value. As I have a table of results and the State are success and failure and progresses, if the State values is the success that should appear in green and if the status is failed, that should be red...

    Here is my table ADF Trinidad read only tables.

    Can someone help me with this.

    Thank you

    Hello

    Try this:

    styleClass="#{row.bindings.Status.inputValue=='IN PROGRESS' ? 'INPROGRESS' : row.bindings.Status.inputValue}"
    
  • Change the color of line in an interactive report in version 4.2 # Apex

    Hi team,

    I have done following things in my interactive report to reflect changes in color, but these changes do not appear. Could you please help where I'm missing.

    Apex Version 4.2 #.

    Theme-100 light blue

    1. to light under the screen if active_flag is "N", then the entire line, I would like to show in a different color.

    2. then create a dynamic action like this

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code

    $('td[headers="Active_Flag"]').each(function() {  
      if ( $(this).text() === 'N' ) {  
        $(this).closest('tr').find('td').css({"background-color":"#FFFF99"});
      } else if ( $(this).text() === 'Y' ) {  
        $(this).closest('tr').find('td').css({"background-color":"#EEA196"});
      } else {  
        $(this).closest('tr').find('td').css({"background-color":"#C6EA91"});
      }  
    });
    

    But it does not reflect anything, you can offer me if I wrong anywhere.

    Kind regards

    Sruthitamiri

    Sruthi Tamiri wrote:

    I have done following things in my interactive report to reflect changes in color, but these changes do not appear. Could you please help where I'm missing.

    Apex Version 4.2 #.

    Theme-100 light blue

    1. to light under the screen if active_flag is "N", then the entire line, I would like to show in a different color.

    2. then create a dynamic action like this

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code

    1. {$('td[headers="Active_Flag"]').each (function ()}
    2. If ($(this) () .text = ' don't) {}
    3. $(this) .find ('td').css({"background-color":"#FFFF99"});).closest('tr')
    4. } ElseIf ($(this) () .text = 'Y') {}
    5. $(this) .find ('td').css({"background-color":"#EEA196"});).closest('tr')
    6. } else {}
    7. $(this) .find ('td').css({"background-color":"#C6EA91"});).closest('tr')
    8. }
    9. });

    But it does not reflect anything, you can offer me if I wrong anywhere.

    Interactive report region that model is set to Model No.? If so, that means that is missing an ID attribute that is required to bind a dynamic action after refreshing the report. Use a region template that contains id="#REGION_STATIC_ID#" , as the region without buttons or title.

    The number of standard theme for the theme of blue light is 15. Have numbered it 100 would indicate that it has been customized, exported and re-imported. In an application updated through previous versions of APEX, it can actually be an older version of this theme earlier at APEX 4.x, when a number of models in legacy issues, missing this attribute altogether.

  • Change the color of line permanently as a condition while the other lines remain default color

    I tried the methods I've read on other forums, but when I go to the next record, follows the color. I want the color to stay on the line that meet the condition. TNX

    Hello.

    You can use the built-in SET_ITEM_INSTANCE_PROPERTY to set the VISUAL_ATTRIBUTE property for each item in the folder that you want to change.

    The Set_Record_Property does not work or the Set_Block_Property.

  • Need to change the color of a dark black blue file

    I need help in the conversion of a file of a blue color with an intense black. Black rich meaning 40 c, 30 m, 30y, 100 k in the darker areas and the rest of the file must have a neutral gray balance. It would be easy if it was just a solid background, but the file I provided has a star on the middle of it. I think it can be done with the mixer layers or hue/saturation, but my efforts have not produced the file exactly as required. This is a jpg of the attached file. Any help would be greatly appreciated.

    kb_BkgdOnly.jpg

    1 convert the file in Lab Mode and zero a and b channels to produce a monochromatic image without sacrificing the details.

    2. now convert to grayscale. It will look like this.

    Choose Edition > color settings > CMYK > customized, choose gray Componeent replacement (GCR) and change the black generation heavy. Note that now the Gray ramp shows curves similar to your goal.

    Now, choose Mode > Mode CMYK color to shades of gray in this change CMYK

    Go to curves, choose the darkest black area in the image, mark.

    The values would be present as follows in the Info Panel. Notice they are cries of aim you values remotely.

    Adjust the point on the curve in each of the CMYK channels to match your points of view, as shown below

    Note that we now have the values of your target and the image looks like this:

    Last return, use your black generation assigning one you normally.

    One final note: Although your screen might not reflect a difference, I suggest you talk about your lithographer values that you have chosen. They add up to 200% solid which you can choose to increase to an even richer black (if the paper supports all).

  • I need to change the color of my vector symbol

    I bought a vector drawing on Adobe Stock Photo, it's the number #64483594

    How coulkd change its color?

    Thanks for your help!

    Tiziano

    tizianoradice,

    a quick way:

    • Open the file in Illustrator
    • Select the all yellow-white ornament
    • Press [R] / / Rotate tool
    • Press [Enter]

    --> 60 °

    -->, click on Preview in

    --> Press the [Copy] button

    (Maybe you have to arrange the duplicate)

    If the construction is ok:

    • Select the ornament set yellow-white (original and copy)
    • and merge with pathfinder (add)

    Have fun

  • How to change the color of line based on Condition

    Dear all,

    We have requirment as shown below

    Based on the condition, I want to show the color for all of the line

    Example of

    If attribute = 'Y' then
    {
    < show the color for complete line in advanced table?
    }

    Please give me suggestion how join my requirment.

    Thank you
    Venkat Reddy Pulichintha

    Hey...

    you said that the code you wrote is working for a column... in the same way you can set the CSS Style on all other columns as well...

    Why don't you go with code that works...

    DataBound APIs are an alternative solution to this... you can search on it later...

    Thank you
    Gerard

Maybe you are looking for