Changing the Column Header Color

I would like to change the foreground and background color of a column header when the user clicks on the column. I know how to detected when the user clicks on a given column, and I know there is a setBackground and setForeground method that needs to be called, the that is my problem, I don't know which setBackground/Foreground methods to call.
Thanks in advance for any help.

Hi,
I fixed my problem using the setBorder() method for my table header.
thanks.

Similar Messages

  • How to change the column header name dynamically based on sysdate

    Post Author: senthi_gokul
    CA Forum: WebIntelligence Reporting
    Dear All,
            i have designed some reports. i would like to change the column header dynamically based on sysdate. up to 24 months. can u help me, which add month function using the universe. i dont know if-then-else function is having the universe tool or not?

    Post Author: prasingh
    CA Forum: WebIntelligence Reporting
    Are you saying you are not able to create an object by value (select: statement) as sysdate and put it onto the headers of your report? You can use the add_months() function on the object to add the numbers of months you wish.
    Please let me knnow for more.. You can get in touch with me on [email protected] for quick reply. 

  • Changing the Column Header and Hiding the Column dynamically???

    Hi friends..
    I'm new to OBIEE field. I'm working in a OBIEE project that requires to dynamically change the column header, and dynamically hide the column depending on the prompt value.
    I know we can dynamically change the table header using the presentation variable but I couldn't do that same thing with column header.
    I searched some forums that suggest to use java script for this purpose but I'm not able to do the same also. If anyone had same issue before please help.

    toony, I'm not sure it's possible to do all that you want exactly the way you want, but here are some ideas you can pursue.
    To dynamically change column headers without javascript, check this blog out...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
    As far as dynamically hiding a column, I don't think you can do this, but since you don't provide any details on how the PV is supposed to hide a column based on the value, are you talking about hiding a column for one PV value and another (different) column for a different PV value? Or are you talking about hiding one column when a PV has certain values and displaying it when the PV has a different set of values?
    I have managed to create both scenarios via a work-around, but the procedures require some writing so I don't want to put both. Please detail how you want your PV to "hide" a column or columns.
    P.S. I don't think column selectors will do the trick for you. Basically column selectors work like this: Say you have a report using Sales Region ID, Region Name, and Sales. Now let's say you want the user to choose if he/she wants to see annual sales, or quarter sales or weekly sales, etc. The column selector view would allow you to put the various columns (Year Sales, Quarter Sales, Weekly Sales) as an option the user can select. Once selected, the sales figure will change for the time period selected. For an example of how this is done, check out the section in this "Oracle by Example" link.
    Waited too long to publish this... Madan beat me to it, so there is some overlap here...
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    Edited by: LC143 on Oct 27, 2008 9:21 AM

  • Change the column header according to the filter value ?

    Hello Experts,
    I have a requirement in which the customer wants to change the column header of the Sales Volume Key Figure to change according to the filter selected for the Calender Year / Month in the Free characteristics.
    I could display the header as 'Sales Volume for OCT 2000' as this is the value restricted intially in the free characteristics for Calender Year / Month.
    Any suggestion is appreciated.
    Thanks,

    Ioan Thanks for the reply.
    Probably my previous explanation of the problem was a little incomplete. Let me give a better description.
    The situation is something like this.
    I have a requirement in which the customer wants the column header to reflect the 'keep filter value' restriction that he does dynamically in the query report.
    i.e:
    -- usually the kf column header shows 'sales volume'
    -- column header with text variable of the Calender year / month variable -- 'sales volume for 2000 oct'
    -- but when the report is run, if the user wants to go and change the filter:   calender year / month > rt clk > keep filer value > select Jan 2003.
      The kf column header still shows 'Sales Volume 2000 Oct'
    How to make the column header change to 'sales volume for Jan  2003' ?
    Any suggestions greatly appreciated.
    Thanks,

  • TO CHANGE THE COLUMN HEADING IN F4 HELP

    hi all,
    can anyone tell me ?
    How can we CHANGE THE COLUMN HEADING IN F4 HELP.
    If the F4 help is available for the custom field then i want to change the heading of the columns displayed in the F4 help.

    Hi,
    Kindly note that using ALL CAPITAL letters in subject line is against the
    Read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    Regards
    Karthik D

  • How to change the column heading as the column changes

    dear memebrs,
    Take an example fo the table EMP. I need to create a report whose parameters are the table column names. so depending on the parameter(which is the column name) the report o/p changes.
    so i am dynamically selecting the table column names and getting the o/p. The problem is when the column changes the heading of it in the report o/p is not changing.
    we have to use format trigger for this, but i am not sure what code should we write in the format trigger of the boiler plate text of the column heading , such that it changes in accordance with the input which is nothing but column name.
    for ex: If i choose EMPNO as the parameter then my column heading should become Employee Number and so on.......
    your comments are welcomed
    regards
    sandeep

    you can use a formula column of datatype character and of any width needed instead of a boilerplate text for the heading name.
    In the formula column you can write code like below
    IF :P_COLUMN_NAME = EMPNO THEN
    return('Employee Number');
    ELSIF :P_COLUMN_NAME = SAL THEN
    return('Salary');
    END IF;
    where P_COLUMN_NAME the name of the column selected dynamically(i.e. the parameter).

  • Want to Change the Column Indetn Color of Measure Label in a Pivot View

    Hello,
    I have used the measure labels in the "ROWS" of a pivot table and there is a column header or indent on the top these measure label which is BLUE by default .My requirement is to change that to a different color and if possible put some text there.
    (to be simple i see a .PTindent cell ,on the top of measure label which i want to edit from dashboard or reporting end without making any changes to the CSS entry files,becuase this entry can cause effect to all the table already in the environment)
    Thanks
    Raghu
    Edited by: user13136841 on Nov 22, 2010 11:56 AM

    Let's try this step by step:
    1) In your report add a Static Text view.
    2) Add the formula I described:
    <style>.PTIndentCell {background-color: #000000;}</style> 3) Check the "Contains HTML Markup" checkbox.
    View the Compound Layout or in the Dashboard (viewing the Pivot Table will NOT show the change.)
    If you can't see anything than the next thing to check is if you can view HTML. Go to a CHAR column and click on the Data Format tab. What choices do you see if you attempt to override the format? If you see HTML, then okay. If you don't, but only see "Plain Text," than HTML is not enabled. The default for OBIEE is to not allow HTML. You will need to change your instanceconfig.xml file and set the HardenXSS to false. See the link below:
    http://download.oracle.com/docs/cd/E12096_01/books/AnyWebAdm/AnyWebAdm_CustAnyWeb23.html

  • 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

  • How to change the column header/channel name in an LVM file?

    Hi all,
    I made a VI (see attached JPG) that reads 2 voltages, but after calculations and other processes, ends up writing 6 columns of data to an LVM file (7 if you count the time).
    I have read in other posts that you can change the name of each signal so that the header of each column in the LVM files doesn't just say "untitled". However, as you see in my code, some signals are numeric (double) and one is a logic (1 or 0), so there is no way to edit the waveform properties of those signals (since they are not waveforms).
    Any ideas?
    Thanks!
    Attachments:
    untitled3.JPG ‏40 KB

    I would suggest looking at this existing post:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=175554
    I'll further mention that in the loop, for each channel you want to set the name of, the attribute name for the name of the channel is "NI_ChannelName".  The example in the thread above takes advantage of the fact that "NI_ChannelName" happens to be the first one defined.  I think it would be more robust to not bother reading the existing attributes, and instead just write the "NI_ChannelName" attribute with whatever new value you want.

  • How to change the column header in XsltListView webpart

    I have a XsltListView webpart. By default it displays the column name in the header. How do I change the header and give a friendly name? I am able to change the header, if I click on header and position the cursor at the right spot and change. But sometimes
    it does not work. Is there any property which I can set in order to change the header? Thanks in advance.
    ss

    Hi ss,
    Do you use SharePoint 2007 or 2010? And the XsltListView Web part only available in SharePoint 2010.
    If you are using SharePoint 2010, to customize the header for each column, please try the following step.
    Open list view in advanced mode in SharePoint Designer.
    Select a header you need to modify > Click Customize XSLT under Design tab on the ribbon > Click “Customize Item”.
    Then we can see <xsl:value-of select="$fieldtitle"/> has selected in Code view > Replace it with the text you want to display on the header.
    For example, I want to display the string “customized header” in the header, then replace
    <xsl:value-of select="$fieldtitle"/>
    With
    Customized header
    Save the page and test.
    Thanks & Regards,
    Emir Liu
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please click here.
    Emir Liu
    TechNet Community Support

  • How to change the column text of an ALV in WD?

    Hiya,
    I have an ALV and it displays this in the column headings:
    I'd like to change 'Name 1' to 'Name' and 'Boolean' to 'Selection', but I can't seem to figure out how to do this in the maze of all the classes and methods...
    Could someone give me a few pointers please.
    Thanks in advance!

    Hi ,
    We can change the column heading through if_salv_wd_column_settings interface. Please check the following code for changing the same.
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_alv( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      data l_salv_wd_table type ref to iwci_salv_wd_table.
      l_salv_wd_table = wd_this->wd_cpifc_alv( ).
      data l_table type ref to cl_salv_wd_config_table.
      l_table = l_salv_wd_table->get_model( ).
      data l_column type ref to cl_salv_wd_column.
      l_column = l_table->if_salv_wd_column_settings~get_column( 'Name_1' ).
      data l_header type ref to cl_salv_wd_column_header.
      l_header = l_column->get_header( ).
      l_header->set_prop_ddic_binding_field(
        property =  if_salv_wd_c_ddic_binding=>bind_prop_text
        value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
      l_header->set_text( `Name` ).
      l_column = l_table->if_salv_wd_column_settings~get_column( 'Boolean' ).
      data l_header type ref to cl_salv_wd_column_header.
      l_header = l_column->get_header( ).
      l_header->set_prop_ddic_binding_field(
        property =  if_salv_wd_c_ddic_binding=>bind_prop_text
        value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
      l_header->set_text( `Selection` ).
    Regards,
    Harsha

  • Need to change the sortable header's prompt value in the Run Time

    All
    I have an advancedTableBean with 11 columns. Out of these 11 for around 3 columns i have to change the column header's(sortableHeader) Prompt at run time. I would like to know how can i get an handle to the column header. I tried 'getColumnHeaderFormat' and 'getColumnHeaderData' but was not sure how to proceed further.
    Kindly suggest me the solution.
    Thanks,
    Praveen

    Hi,
    There is no std user-exit for this (at least we haven't found it as well).
    We have created implicit enhancement point implementation athe the end of form AUFRUF_USER_EXIT in include MF02DFEX.
    The code should be similiar to following:
    ENHANCEMENT 1  YEDSD_EO_ADD_DOC_PREFIX.    "active version
        DATA:
          ltp_doc_prefix TYPE y_dt_docpref.
    *--only in creation and change mode
        IF T020-AKTYP = 'H' OR
           T020-AKTYP = 'V'.
          CONCATENATE kna1-ktgrd kna1-kunnr INTO ltp_doc_prefix.
          kna1-yydocpre = ltp_doc_prefix.
        ENDIF.
    ENDENHANCEMENT.
    Regards,
    Marcin

  • Changing generic column heading

    Hi ,
    How to change the column heading for generic types of columns ?
    Means i want to make it all caps but its in the form of Initcap by default also the column heading are disabled for generic types of columns .
    Any idea ?
    Thanks & Regards,
    Rosy...

    See Vikas if u create a report based on generic columns where the report region returns column headings on that occassion u are not seem to get the column headers editable mode rather it is in disabled fashion with Col1,col2,col3 like that but i want to make all the Headings that is going to be returned in CAPITAL rather what the HTMLDB engine returning by default as InitCap .
    Is there any way to make those caps ....
    Hope this pic helps you to understand.
    http://tinypic.com/jutrah.jpg
    Cheers,
    ROSY

  • 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

  • How to change the height of the column header cells

    Hi,
    I have been working with Oracle BI Discoverer 10g. I want to increase the height of the column header cells. The labels within the column headers are almost cut off. Is there a way to change the height of the column header cells?
    Thanks...

    Hi
    In dic.4.1 ,we are using format heading ,and manipulating by entering extra space and changing font and mode.
    try the same
    Rgds
    NP

Maybe you are looking for

  • Value of a condtion type cannot book to a G/L account

    I have condition type called Z001 and Z002 which is assigned to an account key Z01 and Z02 in the pricing procedure respectively I have also assigned a G/L account to each of the account key using a combination of customer account assignment group, m

  • Blue screen when putting attachments on email on Hotmail website

    Hi, For the past 2 days my computer has blue screened on me everytime I go to attach a file to an email on the Hotmail website. I was fortunate enough to screen print the error message but it doesn't help me as I don't understand. STOP: 0x0000001E Du

  • Chinese Vendor Texts displayed as ############

    Hello Guru's I have a requirement to hold the text of some of our Vendors in Chinese (ZH) language. In the ECC system certain Vendors are only set up in Chinese Language. When I look in the RSA3 extractor (0VENDOR_TEXT)the Text is displayed as; 上海高信化

  • J2EE Container Managed Security doc and inquiry about what to do if I tweak

    hello: If the application_roles is taken out of the database schema, would the example still work with minimal changes? There is a possibility our organization may a separate department handling username and password while our app and our separate da

  • PayPal Error When Launching

    Hello. When launching Contribute CS3 an error message appears: PayPal AC Trans.htm has configuration information that is invalid In Dreamweaver, long ago, the extension just needed to be turned off, but there isn't an option in Contribute. Any help w