Bold text in af:table column header

Guys,
I want to bold the text in af:column header.
I want "label1" text to be bold.. Any suggestions welcome.
<af:column sortProperty="test1" headerText="label1"
inlineStyle="font-weight:bold;">
<af:outputText value="#{row.attribute1}" id="ot129">
</af:outputText>
</af:column>

Hi,
you can use the property headerClass.
For example:
headerClass="myClass"
.myClass{
font-weight:bold;
}or using facet:
<af:column align="center">
                <f:facet name="header">
                    <af:outputValue value="Text" inlineStyle="font-weight:bold;"/>
                </f:facet>
                <af:outputText value="#{row.attribute1}" id="ot129">
                </af:outputText>
</af:column>Regards,

Similar Messages

  • How to set title/text for ALV table column header in WD ABAP

    Hello,
    I am working in WDA using SALV_WD_Table to display data in table. I need to change the column header text, the obvious way is to get the column header and call the method SET_TEXT to set new text / title. However, this method does NOT work, it does not change the column header text. I also tried the SET_TOOLTIP, this one works, but SET_TEXT does not work. Anyone has idea why this not working and do you find any go-around solution?
    My version is NW 7.0
    Thank
    Jayson

    Hi jason ,
    For setting Heder text for your ALV table
    ip_confing type ref to CL_SALV_WD_CONFIG_TABLE.
    "set alv table header
      ip_config->if_salv_wd_table_settings~r_header->set_text( 'Test ALV Header functionality' ).
    first you have to hide the DDIC text and then try to set your own text .
    "modify columns
      LOOP AT lt_columns INTO ls_column.
        lr_column = ls_column-r_column.
        CASE ls_column-id.
          WHEN 'MANDT'.
            "hide this field
            lr_column->set_visible( cl_wd_abstr_table_column=>e_visible-none ).
           WHEN 'SEQNR'.
            "set header to different string
            lr_column->r_header->set_ddic_binding_field( if_salv_wd_c_column_settings=>ddic_bind_none )." use this line to hide ddic text
            lr_column->r_header->set_text( 'Position' ).     
        endcase.
      endloop.
    Regards
    Chinnaiya P

  • Image in table column header to the right of the text?

    Does anyone know how I can put an image on the right of the text in the table column header?
    If I do column.setGraphic it positions image on the left, how can I change the position of the image?
    For that matter how can I set alignment of the image? Like if I want it in the corner (even left corner will do) and not next to the text?
    Appreciate any help !

    You can do this with CSS (needs an external stylesheet, can't be done (easily) with an inline style).
    Something like
    .table-view .column-header-background .label {
      -fx-content-display: right ;
    }(Untested... you may need to experiment a bit.)
    The structure of the table view control from the css perspective is documented here: http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#tableview

  • How to increase text size of a Column header of table in webdypro

    Hi All,
    Can anybody suggest me how to increase the text size of a column header of table in webdyrpo. I didnt find any option anywhere. can anybody help me out to solve this issue?
    Regards
    Ravikumar

    Hi Ravikumar,
    As Sukanta has suggested create a Simpletype of String Type and Length 40.
    Then create a context for the column header and for its type, instead of choosing
    from the drop down, choose the 3 dots.
    In the window that appears, select Local Dictionary, and Select the Simpletype
    that you have created, from the respective package name. And click OK.
    This will make the text of ColumnHeader of type String and Length 40.
    Hope it helps.
    Regards,
    Alka.

  • How to display the sorting arrows in the table column header

    Hi
    I am doing a sorting for some columns from the click of the table column headers, In Developer studio, we are able to view the up and down arrows, I need that also to be made visible at run time, so that the user knows that there exists sorting based on that particular column. Is there any other way of doing it ? I cant place more than one control on the header or wrap the text to two lines..also. please clarify. thanks

    I assume you are using NW 04.
    The table column header contains a IWDCaption element which may display an icon and a text. See property IWDCaption.imageSource.
    The table tutorial might also be helpful.
    Armin

  • Dynamically changing the Advance table column Header.

    Dear All,
    I want to change dynamically the Advance table column header.
    I tried the below code and its working process request,not in process form request when button pressing.
    Please suggest me.
             OAAdvancedTableBean tableBean =
                               (OAAdvancedTableBean)webBean.findIndexedChildRecursive("advanceTableRN");
                           if (tableBean != null) {
                           System.out.println("tableBean");
                               OAColumnBean columnBean =
                                   (OAColumnBean)tableBean.findIndexedChildRecursive("column3");
                               if (columnBean != null) {
                                   System.out.println("columnBean");
                                   OASortableHeaderBean colHeaderBean =
                                       (OASortableHeaderBean)columnBean.getColumnHeader();
                                   if (colHeaderBean != null) {
                                       System.out.println("colHeaderBean");
                                       colHeaderBean.setText("Segment3");

    You can try 2 options:
    1. Try to call pageContext.forwardImmediatlytoCurrentPage();
    2. Try yo set a vo attribute to the columnbean text property and set the vo attribute programmatically. (I have not tried this but I think it should work)
    Cheers
    AJ

  • VC Multiple Table Column Header Lines, Table Width Adjustment

    Hi Experts,
    1) How to have Multiple headers for a column in a single cell i.e multiple lines in the same cell. please provide with example.
    2) How to set your table to adjust the width automatically for all screen resolution since columns of the table disappear and some of the content of the header is not visible if the screen resolution is low.
    3) Is there any way to set the screen resolution for our report alone to very high resolution even if the end user has set the system resolution to low. The reports were developed on a high resolution and now we face the problem as citrix is rolled out and it is standard 1024 * 768 resolution.
    Thanks and Regards,
    Siva

    Wrapping the text of a table column caption into lines is currently not possible. Workarounds could be:
    - using a single character text and a tooltip for the description
    - using an image containing the wrapped text
    Both workarounds have their problems.
    Armin

  • Show the presentation variable on table column header

    hi, experts,
    is it possible to show the presentation variable on the table column header.
    I have created a edit box with presentation variable on the prompt.
    I would like to show the value the user entered on the column header because the values under that column are driven by the presentation variable.
    Thank you very much!

    You cannot put variables in the column headers, as they get considered as text and the same shows in the reports.
    However, you can use the session or repository variables in the alias field in the presentation layer.
    You should make sure, that in this case, all the calculations are done in the BMM layer and not in answers, for the columns where you will be using the variables.

  • Problem::Table Column Heading Font control

    Hi experts!
    Do we have any way to change font and its size in column heading, in Table Component.
    I tried but looks like we dont have access to table column heading. We can only enter heading but cant change its font and size.
    Thanking you in anticipation.
    Annu

    Hi!
    As workaround You can try to set size of text for table to what You want to have for headers and then set size for every <webuijsf:tableColumn> tag to what You want to have for rows.
    Thanks,
    Roman.

  • How to fix the table column header and resize the width of a table column?

    Hi all,
    I have the following two requirements,
    1) I need to wrap the table column header into two rows. I mean the header must be displayed in two rows.
    2) I need to to able to resize the width of the column. i.e The user should be able to drag the column width according to his requirement.
    Is this possible. Any help would be appreciated!
    Regards
    Kishan

    Hi Kishan,
    Refer to these links.They may ne useful for you.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80d81237-b780-2a10-d398-cc33af6bd75c
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ded11778-0801-0010-258f-ac3b9408a194
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30291df2-b980-2a10-0884-839c4f7f147e
    Regards,
    Sumangala

  • How to Merge ADF Table Column Header in ADF Table ?

    Hi All,
    We need to have ADF Table Column header to be "Merged",
    e.g :
    There are two columns Header : | Qty (Case) | Qty (Pack) |,
    can we customize it to display like this :
    | ----- Qty -------|
    | Case | Pack |
    where there are two rows in column header, the first one is "Merged".
    How can we do that ?
    Thank you very much,
    xtanto

    Hi Kelly,
    Thank you for your reply,
    Using Column Faced, Header I can format the header of one column Only.
    My requirement is to Merge header of two colums :
    | ----- Qty -------|
    | Case | Pack |
    'Case' &'Pack' is two different column, so I need to add one row on the header of the two colums, then 'merge' them, and add the word '----Qty----'.
    Is it possible ?
    Thank you,
    xtanto

  • How to Freeze Table/Column Header "without using additional scrollbars" ?

    hi people,
    I am hoping someone can help me here. I have a large table and would like to freeze the first row. Scrolling down the table "_*using the existing scrollbars*_" in the browser while ensuring the header rows are still visible (like Excel when you freeze panes). If you scroll to the right the header rows should stay frozen and not follow.
    I know there are other threads which talk about freezing table/column header, but my requirement is to have it "without using additional scrollbar".
    Thanks in advance,
    RAKESH

    Hi,
    there is no default key for this. You will have to code your own JavaScript for this. Also, I am not sure you want the column to be selected but a field in the column for the row you are in - correct ?
    Frank

  • JButton to simulate table column header

    is there a property on the JButton that will make it behave the same way as a table column header ? Someone showed me a property window of a swing app and they wanted to know how it was done. i suggested to juse use soem buttons, but when i looked closer it was apparent that the action of the buttons was different from what i am familiar with. the buttons moved in/out when they were clicked instead of just turning color.

    i was just playing around with it again and used an AWT button. these do the same thing that the example i saw. i wasnt aware of this difference between swing jbuttons and AWT buttons. When pressing an AWT button, it appears as if it is depressed when you click it as opposed to a swing button that just changes to a darger grey. what am i missing ?

  • It is possible to put an icon&text on the table�s header of JTabbedPane?

    Hi
    It is possible to put an icon&text on the table�s header of JTabbedPane?
    Tx
    D

    its not what i'm looking for.
    maybe its a JTabbedPane at all. if yuo know the Emule interface,it seems like all the comnents Connect,Servers,Transffers,etc they all like a combination of a jTogglebuttn and a JTabbedpane.
    can it be a JToolBar and JToggle buttons in it,that has an event that changh the content of the JFrame?
    Tx
    D

  • Soft enters for table column head breakup

    Hi,
    Can i have any option for the the below requirement?
    I need to give soft enters for all table column head breakup's. (see the below screen shot). When i export to HTML the column heads are run-in against the PDF output.
    Regards,
    Velu

    Hi Velu,
    try the following:
    var curDoc = app.activeDocument;
    var allTables = curDoc.stories.everyItem().tables.everyItem();
    app.findTextPreferences = app.changeTextPreferences = null;
    app.findTextPreferences.appliedParagraphStyle = curDoc.paragraphStyles.itemByName("TCH");
    var allFounds = allTables.findText();
    app.findTextPreferences = app.changeTextPreferences = null;
    for ( var i = 0; i < allFounds.length; i++ ) {
        var tableFound = allFounds[i];
        if ( tableFound.length > 0 ) {
            for ( var j = 0; j < tableFound.length; j++ ) {
                var curFound = tableFound[j];
                        var allParaLines = curFound.lines;
                        for (var n = allParaLines.length-2; n >= 0 ; n--) {
                            var curLine = allParaLines[n];                       
                            if (curLine.characters[-1].contents != SpecialCharacters.FORCED_LINE_BREAK) {
                                curLine.insertionPoints[-1].contents = "\n";
                            } // end if
                        } // end for
            } // end for
        } // end if
    } // end for
    –Kai

Maybe you are looking for

  • JSP's running under Resin server engine???

    I have a JSP application that I am trying to move from running under Tomcat 4.0 to Resin web server engine. When trying to run the application, I get this error: java.util.MissingResourceException: Can't find bundle for base name AppProperties, local

  • Creating a new plant and its effects/changes required in FI/CO

    Hi Experts, My client is going to create a new plant in SAP so I would like to know as to what effects does it have in FI/CO. New plant is proposed to use functions FI, CO, SD, MM-WM and QM I am aware that it needs to be assigned to company code and

  • Lumia 620 with black update - battery draining

    Since the Black update my phone battery drains and phone shuts down without warning. battery saver is on! This never happened prior to the update and all my settings were as before the update and my usage habits havnt changed (minimal use) I'm on OS

  • Logo made in Ps is bit blurry in Microsoft Word

    Hi there, for a client I made a logo in Photoshop. For her letters she uses Word en wants to use to logo there. But if the logo is imported in Word, using insert from file from the menu the logo gets a bit blurry, sort of anti-alias kind of blur. I t

  • Seting the default JTree icons

    Hello, I want to edit another icons than the default icons in JTree object. I look in the javadoc at the several methods, but I do not find a method witch can give me the possibility to setup the collapsed and expanded icon. If some one now how to do