Change colors of entire row according to another

Just to keep you guys busy:
I have a crosstab layout and I want to change the color of the entire row according to one column, is that possible??

Hi Wendy
This is a simple one to answer because the answer is no. Coloring of individual rows of data is not one of the features that any version of Discoverer currently has. I have a copy of the newest Drake and this also does not allow this I'm afraid.
Best wishes
Michael

Similar Messages

  • How to change the semantic color of entire rows in a table.

    Hi, in the past I already managed to change the semantic color of a cell by a condition (for example all the cells with negative number -> I set negative semantic color)
    My question is how can I change the semantic color of the entire row where this cell belong, and not only the cell. Im using NW2004.
    BTW, Im not a java programmer, neither a Webdynpro expert, just an ABAP Programmer. So try to be very explicit, Thx.

    Rodrigo,
    You can just bind correspondign property of every cell editor (TextView) of every column to the very same context attribute. Next, when you change attribute value for certain elemnt, the whole row (every cell editor in row) will get same value.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Change color on a row in list

    Hi,
    I want to change color on my lists rows with buttons (look att the picture) i want to be abel to choose more then 1 item and change the color on all that is marked and i want to do this with javascript :)

    Hi,
    JSLink would be a more recommended way in SharePoint 2013 for your requirement.
    The links below would be helpful for you to get a quick start:
    http://www.rbradbrook.co.uk/blog/2013/04/14/introduction-to-client-side-rendering-in-sharepoint-2013/
    http://www.learningsharepoint.com/2013/04/13/sharepoint-2013-js-link-tutorial/
    http://www.martinhatch.com/2013/08/jslink-and-display-templates-part-5-creating-custom-list-views.html
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Change color of entire image?

    I have a damask flourish design in JPEG format.  I want to change the entire color of the design from green to pink.  How can I do that?  I have an older version of Photoshop Elements 6.0 on my Windows XP machine, but can upgrade to 11 on my Macbook Pro.  Any help or advice is appreciated.  Thanks.

  • Setting background color for entire row of a JTree

    Hi,
    I'm trying to figure out how I can define the component for the entire width of a row of a JTree, not just a section after the arrow and indentation as by implementing a custom TreeCellRenderer.
    Any help would be appreciated.
    Thanks.

    The arrow is part of the UI. You may be able to do this by changing your UI settings The arrow is called a handle - you can set custom handle icons so that may be one approach. Someone else may have a better idea.

  • Jtable: How to change the color of an entire row?

    How can I change the color on an entire row in a Jtable based upon the value in one of the cells in that row.
    For example: Lets say:
    I have 5 rows. Each row has 4 columns.
    If column 4 has a value "A" in any of the rows, all the text in that row should be red.
    If column 4 has a value "B" in any of the rows, all the text in that row should be blue.
    Just point me in the right direction and I will try to take it on from there.
    Thanks

    In the future, Swing related questions should be posted in the Swing forum.
    But there is no need to repost because you can search the Swing forum for my "Table Prepare Renderer" (without the spaces) example which shows how this can be done.
    But first read the tutorial link given above.

  • How can i change the color of an entire row of a JTable ?

    Hi all,
    I have a JTable with 4 columns; I have to change the background color of the rows which have a certain value contained on the fourth column.
    So, if a row has, on its fourth column, a particular value...this row must change background color.
    Any suggestion ?
    Cheers.
    Stefano

    Hi,
    this is a good solution that works fine for me :
    the Object "resources" is a List of String.
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus, int row, int column) {
              JLabel retValue;
              retValue = ( JLabel ) super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
              if (column == 0) {
                   String s = (String)table.getModel().getValueAt(row, 3);
                   if ( !"".equals(s) && resourcers.contains(s) ) {
                             setBackground(table.getSelectionBackground());
                   } else {
                             setForeground(table.getForeground());
                             setBackground(table.getBackground());
         return retValue;
    Cheers.
    Stefano

  • Can I change the fill color of an entire row based on what's selected in a pop-up menu in the first cell?

    I have a pop-up menu in the first cell of every row with three choices (and I may add more at a later date).  I want the fill color of the row to change depending on which thing is selected.  Is this hard to do?

    Hi,
    In essence the same as Wayne's answer, but with a slight modification to fit  to duplicate your 'color the whole row' specification. The final result, with Table 2 slid behind Table 1, is shown.
    Table 2 is a single column table with the same number of rows as Table 1. The table is resized to match the full width of Table 1.
    In A2, use the formula =Table 1::A2 to copy the value from that cell in Table 2. Fill the formula down through the rest of the column.
    Select all the cells in Table 2 (except the header row), and apply conditional formatting rules such as those below.
    Note that the Conditional Format rules are set to apply the same colour to text and fill in the cell, so that the text disappears.
    When Table 2 is ready, select it, then go Arrange > Send to Back.
    Before sliding Table 2 behind Table 1, Select Table 1 and use the Table Inspector to set the Cell Background to None (see red arrow in illustration). If This table has a Header column, you need to select the header cells independently and again set the Cell Background to None.
    Now select Table 2 and drag it to a position partially under Table 1. When you see the blue alignment guides on both sides, or at the top and bottom, of Table 1, release the mouse button and use the arrow keys to nudge Table 2 into its final position.
    Regards,
    Barry

  • Can you change the color of a row in a SUD

    Is it possible to change the color in a selected row in a SUD? I have multiple tables in my SUD were the user can select multiple rows from each table. The problem is that when the user selects rows in another table the last one selected in the previous table is not hi-lighted. I thought that if I change the color of the row when selected the user can see all the selections once he/she goes to another table.
    Thanks,
    AJL

    Hi AJL,
    There is no way to color rows of the table control in a SUDialog. You could consider using the ActiveX container control and using the Microsoft ActiveX table control, which might have that functionality. Note though, that then you need to either ensure that control is always on all your client machines or make provisions for it to be installed/registered.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How do you set the font color for a specific entire row inside a JTable?

    How do you set the font color for a specific entire row inside a JTable?
    I want to change the font color for only a couple of rows inside a JTable.
    I've seen some ways to possibly do this with an individual cell.
    Clarification on changing the font color in an individual cell would be helpful too if
    there is no easy way to do this for a row.

    hai,
    Try out with this piece of code.Create your table and assign the renderer to each column in the table.
    CellColorRenderer m_CellColorRenderer = new CellColorRenderer();
    for(int i=0;i<your_JTable.getColumnCount();i++)
    your_JTable.getColumnModel().getColumn(i).setCellRenderer(m_CellColorRenderer);
    class CellColorRenderer extends JLabel implements TableCellRenderer
    CellColorRenderer()     
    setOpaque(true);     
    setHorizontalAlignment(LEFT);
    setVerticalAlignment(CENTER);
    setBackground(Color.white);
    setForeground(Color.black);
    protected void setValue(Object value)
         setText((value == null) ? "" : value.toString());
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected, boolean hasFocus, int row,int column)
         if(isSelected == true)
              setForeground(Color.red);
         else
              setForeground(Color.black);
         setValue(value);
         return this;
    regards,
    bala

  • Detect Entire row change status

    Hi All,
    I have a use case in which I have editable table(Table has 4 columns) where user can change some rows. I want to detect all the rows modified by the user and want to save the old rows from data base in another table before committing new values(modified values).
    I have seen some samples where we can detect a particular attribute has changed or not but I don't know how to implement entire row change. Please help me regarding this issue.
    I am using ADF Rich Components , ADF BC , JDev 11.1.1.5 and Oracle data base
    Thanks,
    Rajesh.

    Frank Nimphius-Oracle look to be the wrong thread you answered
    You can overwrite the prepareForDML() method of the EO in question as this gets called foe every row you changed. There you have access to the old values by eo.getPostedAttribute(index) and can insert the row into another table.
    Timo
    Message was edited by: TimoHahn
    @Frank ah, you already fixed it :)

  • Coloring entire row ??? (TableColumn) (cell rendering)

    Hi,
    I know this question has been posted a few times but i just couldn't make it work.. i have attached my app below. the idea is to paint the whole row to red if value[row,0] = '*' but the problem here is that only that particular row and column i.e. aRow and aColumn indicated in the cell renderer class is painted red .. i want the whole row to be red not only that particular column and row.. i can get the aRow and aTable from the renderer class but can't figure out how to use these values to paint the whole row for the table RegLocationsTableModel2...... please shed some lights on this.....
    loadhandler.java
    =============
    int vcolIndex=0; //for checking '*' value
    TableColumn col = screen.regLocationsTable.getColumnModel().getColumn(vColIndex);
    col.setCellRenderer(new RenderRedGreen());
    ( (RegLocationsTableModel2) screen.regLocationsTable.getModel()).
    addPartnerProRecord(partner);
    ( (RegLocationsTableModel2) screen.regLocationsTable.getModel()).
    fireTableDataChanged();
    cell renderer class:
    ===============
    final class RenderRedGreen extends DefaultTableCellRenderer {
    RenderRedGreen () {
    setHorizontalAlignment(SwingConstants.RIGHT);
    public Component getTableCellRendererComponent(JTable aTable,
    Object aNumberValue,
    boolean aIsSelected,
    boolean aHasFocus,
    int aRow, int aColumn) {
    if (aNumberValue == null) return this;
    Component renderer = super.getTableCellRendererComponent(aTable,
    aNumberValue,
    aIsSelected,
    aHasFocus,
    aRow, aColumn);
    System.out.println("RenderRedGreen.java::aTable=" + aTable);
    System.out.println("RenderRedGreen.java::aRow=" + aRow); // how to use these values????
    if (aNumberValue.equals("*"))
    System.out.println("RenderRedGreen.java::aNumberValu is *=");
    renderer.setBackground(Color.red);
    else {
    renderer.setBackground(Color.white);
    return this;
    thanx very much....
    tamoooo

    even after changing that if(..) statement, only the first column/cell of the row that has '*' value is coloured to red... other columns of the row basically remains as white..
    as far as i understand correctly the cell rendering, in my case, the loadhandler.java calls the cell renderer class (RenderRedGreen.java) with vColIndex=0... i.e. checking the 0th column of the row.. if the value of the first cell is '*' then the background OF THE CELL is set to red otherwise the background of the cell is set to white.. and all the while, the check is only been done on the 0th column of each row... so basically no coloring will be done on the other rows.. (???)
    i think that somehow since aRow of aTable indicates the row for whose the 0th column is '*' and is the row whose entire column is to be colored.. somehow it has to be rendered from within the render class (RenderRedGreen.java).. any suggestions??? i think some of us has already done entire row coloring.. need some insight into this..

  • How do I change the background color of a row in a table indicator?

    Hello,
      How do I change the background color of a row in a table indicator? I know how to change the background color in a active cell, but that is not what I want. My first intent is to make the background color of the first row a unique color, such as green, just to highlight the top row of the table.
    Regards,
    Kaspar
    Regards,
    Kaspar

    I have done this before by using a for loop to change the active cell of a row in order to give the appearance that the whole row is turning the color at once.
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • I want to create a spread sheet in numbers and be able to change the highlight color of a row.

    I have created a spreadsheet in numbers that allows me to track certain items throughout the day. 
    Some of the cells I have customized so that when I'm using the iPhone, it is easy to input the data. 
    My question is this:  Can I also customize a button (say to the far left to get the entire row) so that I can highlight a row of data (red, yellow, green) to indicate the status of the data?  I know that I can do it by manually selecting the row and then going through the steps.  I want to make it a selectable "one-click" option.
    Just to clarify:  This numbers doc is uploaded to iCloud and I change the data depending on where I'm at.  At Home/Office, I use the mac.  During the day I'll use my iPhone or iPad.
    Any ideas?
    Thanks a million

    Unfortunately it's not possible yet...
    https://discussions.apple.com/thread/3962330?tstart=30
    Srry

  • How to change a color for a row in ALV grid display

    Hi,
       how to change a color for a row in ALV grid display based on a condition.Any sample code plz

    Hello Ramya,
    Did you check in [SCN|How to color a row of  alv grid]
    Thanks!

Maybe you are looking for

  • How can I set the font size of a form field in the fdf file?

    I need to dynamically set the font size of a field to accommodate text of varying length, automatic font size won't work in this case. It seems like this can be done in the FDF but I have tried several variants without success. Could someone help out

  • OS version, 8.10.14157.200, no longer works with bluetooth in my car - Nokia 1520

    I installed OS version, 8.10.14157.200 on my Nokia 1520 and now the Bluetooth connection to my car is choppy and can't hear the other party on the call, nor can they hear me. It will allow me to connect to the car but doesn't work at all. I did selec

  • Acrobat Shared Review: Sluggish Response

    I've used the Acrobat shared review process daily for a couple of years, creating files with v. 9.4.0. The last few weeks I've experienced difficulty opening and navigating PDF files, especially those that contain SME comments. Any thoughts about why

  • G5 iMac burning cd issue

    I attempted to burn some files to a cd today. My burner is the MATSHITA DVD-R UJ-85J: The cd's and dvd's I have are compatible. I load the cd, the finder prompt appears as normal, I click ok. I drag the items to the cd and click burn. I chose 8x spee

  • How to call a standard page from a custom BSP-iView by URL

    Dear readers, I have to implement a scenario as described in the guide "Administration of the Business Package for SAP CRM 4.0", chapter "Object Links in the Portal" scenario 1 and/or 2 (page 404). In my case, a custom iView-BSP lists certain busines