How to align Hgrid column(messagestyledtext) header text to right justified

Hi All,
I have a Hgrid table and i am using five columns in hgrid table.. I need to display column header text right justified. but by default it is left justified.
Can any one tell me how to do it..
Its very urgent.. Please help me out..
Regards,
Babu

Use
OAHGridBean GeneralHgrid=(OAHGridBean)webBean.findChildRecursive("<hgrid item name>");
GeneralHgrid.prepareForRendering(pageContext);
DataObjectList tableColumnFormats =GeneralHgrid.getColumnFormats();
DictionaryData tableColumnFormat = (oracle.cabo.ui.data.DictionaryData)tableColumnFormats.getItem(pageContext.findChildIndex(GeneralHgrid, "<item id of item attached in hgrid column>"));
tableColumnFormat.put(COLUMN_DATA_FORMAT_KEY, <enter format>);
see below:
�� TEXT_FORMAT (textFormat)- column content is Start justified.
�� NUMBER_FORMAT (numberFormat)- column content is Right justified.
�� ICON_BUTTON_FORMAT (iconButtonFormat)- column content is center justified.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to get summary columns in delimited text file

    How to get summary columns in delimited text file
    I am trying to generate a delimited text file output with delimited_hdr = no.The report is a Group above report with summary columns at the bottom.In the text file the headers are not getting repeated & thats ok.The problem is the summary data is getting repeated for each row of data.Is there a way where i will get all the data & summary data will get displayed only once.I have to import the delimited text file in excel spreadsheet.

    Sorry there were a typos :
    When I used desformat=DELIMITEDDATA with desttype=FILE, I get error "unknown printer driver DELIMITEDDATA". When you look for help, DELIMITED is not even listed as one of the values for DESTFORMAT. But if you scroll down and look for DELIMITER it says , this works only in conjuction with DESTFORMAT=DELIMITED !!!!!!??!! This is in 9i.
    Has this thing worked for anybody ? Can anyone please tell if they were able to suppress the sumary columns or the parent columns of a master-detail data for that matter ?

  • How do I create columns in my text when using pages?

    How do I create columns in my text when using pages?

    Presuming you are using Pages 5.2.2:
    select the text > choose the number of columns in the Format > Layout sidebar
    Peter

  • How to ADD dynamic header text to Right hand Corner of IDR -FPM OVP/OIF

    Hi,
    How can we add dynamic header text to right hand side corner in FPM OVP?
    I know we can handle left hand side.. but i do need simultaneously right hand side..
    ANy thoughts??
    Rgds
    Tarun

    I am not sure how it is arranged in 7.02, in 7.01 IDR layout is flow layout so you cannot have layouts other than that. I thought that this has been changed in 7.02 to accommodate the matrix layout. I am not sure about it. If this was true then you can try to play with the layout to fit right hand side. It is not easy though.

  • How to make 1st column as header in ALV grid

    Hi Experts,
    How to make 1st column as header in ALV grid as attached. Please help.
    Thanks in advance.

    Hi manoj,
    Try with,
    FM REUSE_ALV_HIERSEQ_LIST_DISPLAY
    Regards,
    Venkat.

  • How to align ADF column header text

    Hi,
    I want to align ADF column header text to center regardless of whether the contents are text (which should be left aligned - done by the "formatType" attribute) or number (which should be right aligned - done by the "formatType" attribute) within a ADF table. the styleclass attributes also doesnt work. can anybody help me pl?
    Afi

    Hi Afi,
    use
    <af:column>
      <f:facet name="header">
        <af:panelHorizontal halign="center">
          <af:outputText value="#{bindings.DeptView.labels.Dname}"/>
        </af:panelHorizontal>
      </f:facet>
      <af:inputText value="#{row.Dname}"/>
    </af:column>instead of
    <af:column headerText="#{bindings.DeptView.labels.Dname}">
      <af:inputText value="#{row.Dname}"/>
    </af:column>Rado

  • How can I edit column name/heading in Column Attributes?

    Hi All,
    In the link "*Home>Application Builder>Application 1000>Page 2>Report Attributes>Column Attributes*", can someone help me how to edit/modify 'Column Name' and 'Column Heading' ?
    Thanks in advance.
    Regards
    Sharath

    Hi,
    There is Headings Type radio buttons above report column attributes.
    Select Headings Type "Custom" and then you can change Headings.
    Column names (Alias) you need change to report query.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • How to display field value in header text?

    Hi Experts,
    In va03, the client wants some number in the header text which is stored in vbak. Please tell me:
    1. Which method should I use in BADI?
    2. How to display in header text?
    Regards
    Mani

    Hi Kiran,
    Thanks for the prompt reply. How can I display some hard code like 'Test' in the header text in va03.
    Text name = 0000001252
    Language = EN
    Text ID = Z001
    Text object = VBBK
    READ_TEXT is used to get the values from the header text, but how to set the values?
    Regards
    Mani

  • How to get the user entered  header text on a delivery

    Hi All,
    I am looking for a internal table which holds the user entered text in header text of the delivery. I was able to find header data in XTHEAD table. But actual lines(entered text)  in which structure it holds. I checked TLINETAB but its empty.
    My requirement is to check the user enterd text to validate at userexi_save .
    Any help will be appreciated
    Thanks
    Sai.

    Hi all,
    Thanks for ur replies.
    I already tried READ_TEXT. but its not giving the current value.
    check the following code:
            CLEAR lv_valid.
            READ TABLE catalog
                  INTO ls_catalog
                  WITH KEY tdobject = c_vbbk1
                             tdname = likp-vbeln
                               tdid = c_z043.
            IF sy-subrc = 0.
              CHECK ls_catalog-function NE 'D'.
              CALL FUNCTION 'READ_TEXT'
                EXPORTING
                  id                      = ls_catalog-tdid
                  language                = ls_catalog-tdspras
                  name                    = ls_catalog-tdname
                  object                  = ls_catalog-tdobject
                TABLES
                  lines                   = lt_tline
                EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
              IF sy-subrc = 0.
                CLEAR lv_valid.
                READ TABLE lt_tline INTO ls_tline INDEX 1.
                CALL METHOD z2cl_utilities=>is_valid_text
                  EXPORTING
                    p_text  = ls_tline-tdline
                  IMPORTING
                    p_text1 = lv_text1
                    p_text2 = lv_text2
                    p_valid = lv_valid.
                IF lv_valid IS  INITIAL.
                  MESSAGE e504(z2vl) WITH lv_text1 lv_text2.
                ENDIF.

  • How to modify the Sales Order Header Text

    Hi Experts,
    I have bulk of sales orders, for each sales order i have to modify the Header Text,( text id : 0005, text object = VBBK,)
    for this, is there any standard BAPI or Function Module is available. If so could you let me know what are the input parameteres i have to pass.
    Regards,
    Nag..

    hello,
    there is BAPI "BAPI_SALESORDER_CHANGE"
    there is a ORDER_TEXT in a table parameters in the BAPI.
    pass all the relevant inputs & use commit bapi
    Thanks,
    Manjunath MS

  • How can I change Information/Error Heading texts

    I want to change Information/Error Heading texts that are shown during error and message notifications
    at top of the UIX pages. (I am using UIX/Struts/BC4j with jhs 9.0.4.5)
    I have changed the values of "ERROR_HEADING" , "ERROR_PAGE_HEADING" , "INFORMATION_HEADING"
    keys in the generated resource bundles, but nothing has changed.
    It looks that modifying these keys has no effect at all.
    Where is my mistake?
    Does anybody have solution for changing these headings ?
    Thanks for your help.

    Navid,
    These entries are used when generating JSP pages.
    In case of UIX the error and information headings are controlled by UIX, just like the detail disclosure text you mentioned in the other thread. So, change the language of your browser and you should get a different heading.
    Steven Davelaar,
    JHeadstart Team.

  • How can I individually align various columns in a text frame?

    I've searched and searched but I cannot find anyone who has asked this, perhaps it isn't possible? I have a Circle, and within it, I have 6 text columns. I basically want to align the left most column to the left, the rightmost to the right, and the center ones centered. Is there a way to treat these column differently. Right now if I even select one line and align it in any way, the entire circle re-aligns (which I am used to, but want to break that mold for this project). And yes the copy is threaded through the columns.
    Thanks so much for any help I can get!

    Hi,
    Why not insert 2 carriage return: the 1rst at the end of the 1rst column and the 2nd at the end of the 5th! Then play with the alignments.

  • How to align output formatted and output text in the same line?

    Hi All,
    I want an output formatted label and a text on the same line,. I've surrounded these components wth a panel form layout and they automatically align one below the other. how do I kepe them in the same line?
    Thanks.

    Try as per the code snippet below:
    <af:document title="TestPage.jspx" id="d1">
    <af:messages id="m1" inline="true"/>
    <af:form id="f1">
    *<af:panelGroupLayout id="pgl1" layout="horizontal">*
    *<af:outputFormatted value="outputFormatted1" id="of1"/>*
    *<h:outputText value="outputText1" id="ot1"/>*
    *</af:panelGroupLayout>*
    </af:form>
    </af:document>
    Thanks,
    Navaneeth

  • How to align datagrid column

    hi,
    i want the datagrid headings alone to be aligned as center and rest of the columns to be aligned as left
    For example my data grid should look like this
    Header 1
    Header 2
    xxxx
    yyyy
    xxxx
    yyyy
    i have used data grid align property, it effects the entire grid. Is there any way......
    Thanks in Advance,
    Ayathas

    Hi Sam
    Set the
    RightJustify = True
    for that column.

  • How to align Matrix Column?

    I want to align some numeric column to Right Align by default it was left align

    Hi Sam
    Set the
    RightJustify = True
    for that column.

Maybe you are looking for

  • Ram slots on a G-5

    How do ram slots J-43 and J44 relate to the numbered slots inside the machine 1-4 upper and lower on a G-5?

  • Unit of measure error in BAPI_MATERIAL_SAVEDATA

    Hi Guru's, i am trying to upload the material master data using BAPI...while uploading ia m getting beloow error ..please guide me anyone you..where i am doing mistake..... 1st this error i am getting while executing: internal unit HR ,language EN is

  • Balance Sheet or trail balance in Calender year

    Dear Friend,               In Configuration in company code   fiscal year variant  is April to March. The requirement is to get balance sheet and trail balance in calender year wise. Can it possible to get above report in SAP standard  ? Please give

  • Downloaded Adobe 9 -- Using Word 2007 to open PDF doc (Error Msg)

    I just updated to Adobe 9 and am getting this signature error message when trying to open a pdf doc from MicroSoft Word 2007:  appname: acrord32.exe appver: 9.3.0.148 ModName: acrord32dll ModVer: 9.3.0.148 Offset: 001937fa Am not able to get beyond t

  • POI HSSF XML to Excel DataFormat Problem

    Hiho, I�ve got the following problem: I want to create an Excel File from an XML File with POI and DOM4J. This works fine... Now I want to create some cells with a currency value in it, on which I want to calculate. Here�s my code: HSSFSheet sheet =