Change in header color

Hi people,
         i need to change the header row color into red and also i need to insert hyperlink to the header row.
so i created an ABAP OO class in se24 with super class as
CL_RSR_WWW_MODIFY_TABLE. then i redefined the CAPTION_CELL method as
if I_X = 1.
        move 'SAPBEXSTDDATARED' to C_CELL_STYLE.
concatenate '<a href=' C_CELL_CONTENT'.html>' <C_CELL_CONTENT '</a>'
into
C_CELL_CONTENT.
endif.
The same thing i did in DATA_CELL method.
when i tried activating the class, i am getting an error saying that "Method DATA_CELL and CAPTION_CELL are not declared or inherited in class Zfirst".
Is there is work around to solve this issue?
Thanks in advance.
Regards

Did you make the changes to the class by going thru re-define for each of the methods after setting CL_RSR_WWW_MODIFY_TABLE as the superclass. Also make sure under the properties tab of you class you have set the instantiation type to 'PUBLIC'.
The SAP How to Paper gives step by step instructions on doing the same.
Thanks.

Similar Messages

  • Change column header color LV 8.20

    I am displaying tabular data and a graph. How do I change the table column heading color, so they match the colors assigned to the graph?
    Thanks,
    Jim Purdy
    LabVIEW 8.21 on WinXP

    Hi Jim,
    try yourself with this VI. Consider the "active cell" indices are I32, so they can be negative.
    Greets, Dave
    Greets, Dave
    Attachments:
    change Table Color.vi ‏12 KB

  • Change Column Header / Column Background color based on a value in a specific row in the same column

    SSRS 2012
    Dataset (40 columns) including the first 3 rows for Report layout configuration (eg: the <second> row specifies the column background color).
    Starting from the 4th row, the dataset contains data to be displayed.
    I would like to change the background color of the ColumnHeader/Column based on the value in the same column in the <second> row.
    How can I accomplish the this requirement? (this must be applied for all the columns)
    Thanks

    Hi Fasttrck2,
    Per my understanding that you want to specify the background color of all the columns/column header based on the value in one special column of the special row, right?
    I have tested on my local environment and you can add expression to condition show the background color in the columns properties or the column header properties.
    Details information below for your reference:
    Specify the background color in the Column header: you can select the entire column header row and in the properties add expression in the Background color :
    If you want to specify the background color for the entire column, you can select the entire column and add the expression, repeat to add background color for other columns.
    If you want to specify the background color based on the value in the specific columns and row, you can create an hidden parameter to get the list of values from the  specific column, specify the Available values and default values by select "Get
    values from a query", finally using the expression as below to get the specific value you want:
    Expression(Backgroud Color):
    =IIF(Parameters!Para.Value(1)="1221","red","yellow")
    If your problem still exists, please try to provide some smaple data of the report and also the snapshot of the report structure to help us more effective to provide an solution.
    Any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • How do I programaticly change the header BG color on a multiline listbox

    How do I programaticly change the header BG color on a multiline listbox

    Hi,
    If you mean the multicolumn listbox then you have to create the its property node on the diagram (right click on the item and select "Create->property node" from pop-up menu). Then you have to select two properties:
    "Active Cell"
    "Cell Background color".
    You can do it by expanding prperty node to 2 rows and right clicking on each row. Then select "Properties" from pop-up menu and the appropriate property.
    Then you have to set-up "active cell" to the appropriate coordinates of the column header. (row=-1; column=N or column=-2 if you want to change the colors of all headers).
    Now you have to connect the appropriate colorbox or numeric variable to "Cell Background color" property node and run the program.
    I've attached the example.
    Good luck/
    Ole
    g Chutko.
    Attachments:
    Color.vi ‏15 KB

  • How can i change the background color in the heading when i add a new page

    How can I change the background in the heading on a new page? When you add WELCOME page the heading color is tan, the ABOUT ME page the heading is light blue, the PHOTOS page the heading block behind the heading text is light green, etc. How do I change those colors?

    you can change iweb navbar any which way you want, as long as you know iweb widgets:
    http://iwebwidgets.cyclosaurus.com/iWebNavBar/BkgndColor.html
    you won't see the change in iweb, you only see it in published site.

  • Changing only column header color

    Hello,
    I changed the background color of the tabel to white. But column headers are also appearing as white. How can I change the color of column headers only. I tried several combinations...no luck.
    Thanks,
    Sunita.

    Hi Sunitha,
    You do like below.
    1)In the Table Column delete the dafault Table header.
    2)Insert FixedYTopCell to the above column and insert TextView to FixedYTopCell.
    3)Change the cell Design Property of FixedYTopCell   to grouplevel2
    4)Change the SemanticColor Property of TextView   to negative or accroding to your.
    That will change header column color
    Regards
    -SS

  • Change Data Table column header color

    How do I change the background color displayed in data table column headers?

    Thanks for your response. Problem is that I'm creating a portlet and the stylesheet.css file does not appear to exist, so Winston's blog does not help.

  • How to change the background color only for one HTML-Portlet?

    Hi all,
    I have created a HTML-Portlet in my root-page. The root page have a style: Main-Style.
    I want to change the background-color only for this one HTML-Portlet:
    <html>
    <header><title>Test</title></header>
    <body bgcolor="#999999">
    Test
    </body>
    </html>
    But this does not work...
    When I use the CSS, then it will change the background-color for the root-page too.
    Thans
    Leonid Pavlov

    could you try this
    <table bgcolor="#999999">
    <tr>
    <td>
    test
    </td>
    </tr>
    </table>
    I don't think you need <html><header><title>Test</title></header>
    <body></body></html> for your HTML-Portlet.

  • Change the background color in a report cell - td bgcolor

    Hi.
    I have a report in which I would like to change the background color of a table cell based on some values in the underlying query
    If Column A > Column B and Column C > 10, I want to color the background green. In my cgi , this was easy, but in apex, even if I write the query to output html, won't everything already be wrapped in the <td></td> tags? Is there any way around this?
    Thanks

    Mike ,
    With the above solution you can conditionally fill the report cell with a particular color and not the entire row set. If you want to highlight entire row, you have to do something different. Take a look at this jQuery function
    Step 1 . Download jquery http://code.jquery.com/jquery-1.4.2.min.js
    Step 2. Upload it to apex image folder using shared component.
    Step 3. In the page header put the following code
    <script src="#WORKSPACE_IMAGES#jquery-1.4.js" type="text/javascript" ></script>
    <script type="text/javascript">
    $(document).ready(function(){
         if ($('.apexir_WORKSHEET_DATA').length > 0) {
              function HighLightRows(){
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GRAY)").siblings().addClass('greentd');
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GRAY)").addClass('greentd');
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GREEN)").siblings().addClass('graytd');
                                       $("table.apexir_WORKSHEET_DATA tbody td:has(COLOR_GREEN)").addClass('graytd');
         // This time out is required since after the report is refreshed via AJAX,
                                  setTimeout(function(){HighLightRows();},1000);
         }//if
    HighLightRows();
    </script>
    <style type="text/css">
    .apexir_WORKSHEET_DATA td.greentd
    background-color: green !important;
    .apexir_WORKSHEET_DATA td.graytd
    background-color: gray !important;
    </style>
    Step 4. Change the SQL Query to
    SELECT
         SALE_DATE
         ,PRODUCT_NAME
         ,PRODUCT_ID
         , CASE WHEN SALE_DATE > ADD_MONTHS(SYSDATE,-2) THEN
                     '<COLOR_GREEN>&#38;nbsp;</COLOR_GREEN>'
              ELSE
                      '<COLOR_GRAY>&#38;nbsp;</COLOR_GRAY>'
         PRODUCT_NAME_COLOR
    FROM SALES;
    Step 5. Make this new column PRODUCT_NAME_COLOR visible and in the column heading u can just put &#38;nbsp;.
    As long as this column will be available for display you will see the conditional highlighting.Thanks,
    Manish

  • Changing column background color in a template

    I am using template 12 alternating row colors. Is there a way to change the background color for selected columns in the header in the template.

    Pam wrote:
    I am using template 12 alternating row colors.Do you mean the Standard, Alternating Row Colors report template in theme 12?
    Is there a way to change the background color for selected columns in the header in the template.What do you mean by "selected columns"? Selected how? Why do you want to do this?
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • Change prompt background color

    Hi,
    I want to change prompt background color in dashboard,
    how to realize it?

    Hi alpha,
    page options->edit dashboard->select your prompt properties->modify->then can you see one box on the left in the head?
    click it->cell->background color->choose your color->click ok.
    thanks

  • Change the tab color

    Hi,
    i'm unable to change the tab color of panelTabbed item, i've tried the following in a css sheet:
    af|panelTabbed::tab:selected {
    font-style:italic;
    background-image: url("../Images/section_label_body.jpg");
    border-bottom-color: red;
    border-color: Fuchsia ;
    border-top-color: Green;
    outline-color: Yellow;
    color: Aqua;
    font style and background image seems to work (which tells me that i have the right skin selector) but non of the rest is changing the color of the tab.
    does anyone knows how to do that???????
    Note that when i say tab i mean the tabs header, where you click on it and it opens the tab body.
    Thanks,
    Alain.

    Hi,
    best tip I can give is:
    Disable content compression for the generated HTML output of the ADF Faces page. This will change the style class names from being obfuscated, which we use to reduce the download size of pages. Astyle class that shows as .x3s at runtime might show as af_inputText_content after this. The af_inputText_content then is waht you need to discover and translate into a valid skin selector.
    <context-param>
    <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
    <param-value>true</param-value>
    </context-param>
    Run the ADF Faces application you want to discover the skin selector for in FF with Firebug and the WebDeveloper plugin installed.
    Select the tab and look at the skin selectors displayed as the style class properties. If you find someting like af_panelTabbed_tab then this translates to af|panelTabbed::tab. If you see something like .p_selected then this means its a pseudo class that needs to be appended to the selector like af|panelTabbed::tab:selected.
    Use Firebug in inspect mode and select the tab. This shows you all the selectors as style classes in the generated HTML output. Open the Web Developer plugin to edit CSS on the page. Then add the style class selector you found, e.g. .af_panelTabbed_tab (note the leading dot ".") or with a curly brace
    .af_panelTabbed_tab{ ... }
    Within the cury braces, type the CSS you want to set and see how it behaves. You may have to play a bit to exactly find the style class and css you want, but assuming that the follwing works
    .af_panelTabbed_tab .p_selected{background-color:red}
    then this translates to teh following skin selection to be copied to the CSS skin file
    af|panelTabbed::tab:selected{background-color:red}
    Note that this backward translation from style class to skin selector needs some patience. However, experience proves to be the best when cooking and so it does for skinning.
    Hope this helps
    Frank

  • DataGridColumn Header Color

    How do I define the background color of a Datagrid's header?
    I'm building the Datagrid dynamically, creating each
    DataGridColumn. How do I change the background color of a
    DataGridColumn's header?

    Set your headerColors in the css for the datagrid and then
    define a headerStyleName
    DataGrid {
    headerColors:#606060,#ffffff;
    headerStyleName:"gridHeaderStyle";
    .gridHeaderStyle {
    color: #fff666;
    }

  • I am new to this I am trying to do something very simple.  I need to change the background color to

    I need to change the background color of a photo to white and then shrink the head of a photo for a passport and make the picture output a 2x2.
    Can someone help.  Thx

    Here are the requirements for US passport. Scroll down for the passport tool to make the picture utilizing one on your disk.
    http://travel.state.gov/passport/pptphotoreq/pptphotoreq_5333.html
    If you decide to make it in Elements and print it, you should have a resolution of 240-300 px/in for a good output.  I suggest that you print the 2 photos on good quality paper, probably both on 4x6 stock, and trim with scissors to specification.
    Open your picture and go to Image>resize>picture size, and check the resolution. If it is less than 240 px/in, enter 240 in the field and see if the dimensions remain adequate. If not, you may have to resize.
    Use one of the selection tool, e.g. lasso tool, or selection brush tool, to select head and shoulders
    Go to Edit>copy to put the selection on the clipboard
    Open a new, blank file (File>new>blank file) 2.25 x2.25", resolution the same value as your picture, background white
    Go to Edit>paste. The picture will be on its own layer
    Access the move tool to position it, and to resize with the corner handles of the bounding box, if necessary
    Please report back with your progress.

  • Change Visited Link Color onClick of EPCM function

    Hi we have a link within an iview which when clicked opens another iview in the Portal Content Area. We are achieving that using EPCM.doNavigate function. The requirement is to change the link color when visited. We tried using both style sheet and also this.style.color, however, it doesn't take into affect. The same thing when used with a normal href or a js function changes its color.
    response.write("<td style='padding: background='"strImagePath"/header-background.gif'><a href=\"" + strQuickLinkName + "\"" +  " onclick=\"EPCM.doNavigate(\'" + strChildNodeName + "\'); return false;\" class='Archive'>Archive</a></td>");
    Is it that EPCM function doesn't act like normal java scripts or do we need to use any other alternative approach?

    On criagslist, however, it doesn't work.
    That sounds odd. When I visit craigslist, the links are blue; they turn purple when I hover over them, and orange when I actually click on them. And since it works on other sites, I'll venture a guess that the site was created with Windows users in mind, so it doesn't adhere to web standards, which is why it works fine with IE and Firefox, since they're both prominent browsers on Windows.
    Mulder

Maybe you are looking for

  • I have a WRT610n and the 2.4 GHz just stopped working (5 GHz network is working fine)

    Almost with the coming of the new year, the 2.4 GHZ net slowed down to nearly nothing. That is to say that it works only very slightly, and is usually not even visible as an option to select. But the 5 GHz network is available and works fine. Here is

  • I can't create a USB bootable Windows in Boot Camp Mavericks

    In Lion I was able to modify the file info.plist in the Package of bootcamp... </array>           <key>PreUSBBootSupportedModels</key>           <array> removing the ''Pre'' </array>           <key>USBBootSupportedModels</key>           <array> In Ma

  • How to use filter

    My application has many threads. Each thread is sending messages to queue Q1 with unique corrlation id' and is waiting The application that process these messages places response with the same corlation id in another queue Q2. I need to capture right

  • Show username and date on results slide

    Hi, Is it possible in captivate that a user can enter the user name and date in the beginning of the project which later can be displayed on results slide

  • Database privileges for integration between EBS and Third Party software

    Hi, We have engaged a third party invoice scanning software vendor that wants to install database components on our existing EBS database. We run Oracle EBS 11.5.10.2 on a 10g database. The third party software vendor wants privileges like select, up