Resize Column Heading Dynamically

I have an AdvancedDataGrid for which the user can separately
and independently set the font size used in the column headings and
the rows. Upon saving the form, if the font size used in the rows
changes, I call the function setRowFont() (shown below).
The regenerateStyleCache(true) causes the rows to dynamically
adjust their height to accommodate the text. (The groupRowHeight is
there to adjust the size of the data groupings.) This works just
fine.
I use a similar function for the headings,
setColumnHeadingFont(). When this is run, there is no change. If
you close the app and restart it, the changes are reflected. Is
there some way to change this height dynamically without
restarting? Or is there a reason why this cannot be done?

You can do this by placing the name of your hidden item in the heading column on the 'report attribute' tab of your report region.
For example if you have an item called P1_GRP_BY that you want to display as a column header, type &P1_GRP_BY. in the header column.
David

Similar Messages

  • Change column header dynamically at report run time

    how to use LOV In report column definition under column attributes for display..
    If it suceeded will it dynamicaly change header name at time of running report
    my requirement is actually to change column header dynamically at time of run report
    is it possible with above mentioned way?
    Apex 4.1, Oracle 11g, PL/SQL Gateway configuration
    Please help me on this
    Thanks

    Hi,
    by making use of specific report column templates and column template conditions you can change the headers dynamically.
    See this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/ui_templt.htm#HTMDB25708 for more info.
    regards,
    Erik-jan

  • How to set column heading dynamically?

    Hi:
    How can I set a column heading dynamically -by PL/SQL code- ?
    Regards,

    Hi,
    Create a formula field, and return desired heading depending on your conditions, and use that field as the column header.
    Regards,
    Manu.

  • Popluate Column Heading Dynamically in UI

    HI Experts,
    I have a requirement where i  need to get column descriptions dynamically at item level in UI  depending on the process type.
    I have an order with two items, when i display the order from search result i go to order detail where i can see the items also.
    There is a column called net value as column heading, this populates the net price for each item.
    I need to show base price instead of NET PRICE which i am able to do that and column heading name is DNP.
    But DNP column heading  along with base price is required only for a particular process types , for remaining process types the NET VALUE column heading followed by net price should remain same.

    Hi,
    User can Maintain the Column Heading's, by the way you mentioned....
    Else you can use TOP-OF-PAGE event to build Dynamic Coulmn Headers.

  • Change Column Heading dynamically in ABAP report

    Hi,
    is it possible to have the selection screen values in the column heading of the result screen in a report?
    Currently list heading / column heading values are maintained in a Goto-> Text elements -> List headings
    but I would like to have values there that are entered by user, is it possible?
    Regards,
    Mindaugas

    Hi,
    User can Maintain the Column Heading's, by the way you mentioned....
    Else you can use TOP-OF-PAGE event to build Dynamic Coulmn Headers.

  • Field Header / Column Header Dynamic Name change

    Hi,
    I have built a query using SQ02 and SQ01. I have a question, what is the easiest way of changing the Column Header using ABAP Code? I have 3 columns which i have added myself,
    1st colum name should be the current month
    2nd column name should be current month +1
    3rd column name should be current month + 3
    ANy help would be appreciated
    thanks
    Adeel

    Hi Friend,
    For changing column name according to your requirement in ALV:
    take a variable type p (for example ws_month);
    pass month number.
    Go to table T247 and take month text and pass to
      WA_FIELDCAT-SELTEXT_M = 'Month Text'.
    Increment the month number by 1 and follow the same logic.
    You can implement the same logic for report also.
    Regards
    Krishnendu
    Read the question carefully before answering. Irrelevant and misleading answers will lead to your account being locked.
    Edited by: Durairaj Athavan Raja (Moderator)on Jul 12, 2008 12:10 PM

  • SSIS : How to create Column Header dynamically using expression in Flat File Source

    Hi Team,
    I need to keep configured Header Names for columns, Is there is any way to set each column name from expression? or is there is any other way?

    Nope
    But you could add a dummy row to your source to include column headers and then use options column headers in first row in flat file connection manager.
    So suppose you've three columns column0,coulmn1,column2 and you want to make it as ID,Name,Datethen make source query as
    SELECT 'ID' AS Col1,'Name' AS Col2,'Date' AS Col3, 0 AS ord
    UNION ALL
    SELECT Column1,Column2,Column3,1
    FROM YourTable
    ORDER BY Ord
    then choose  column headers in first row option
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • 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. 

  • Dynamic Column Header

    Hello!
    Does anybody know how to set the column header dynamically, e.g. set the current month name as the column header?
    Thanks!

    If you have following alias defined on the MTD and QTD.
    MTD- month
    QTD - quarter
    then you can use current <<MemberAlias(....., ...,.) >>_
    If dont have alias defined then use conditional formatting, to display whatever you want.
    Hope this helps.
    Regards,
    Rahul

  • Dynamically change column heading without Dashboard Prompt

    Hi All,
    My requirement is change the column heading dynamically in a report. I have achieved this through setting the presentation variable to the dashboard prompt.
    I have 5 columns in the dashboard prompt. Out of these 5 columns, I want to use only 1 column as dashboard prompt.
    But still I want to dynamically change the column heading of the other 4 columns based on the only 1 column selected in the dashboard prompt.
    Is there anyway to achieve this?

    You need to have some logic to change other 4 columns based on 1 selected column.. where you want put that logic?
    BTW: Check these
    http://total-bi.com/2011/03/obiee-dynamic-column-headings/
    http://rampradeeppakalapati.blogspot.com/2012/02/dynamically-change-column-names-in.html
    If helps mark or also update back if you are thru with this.

  • Change column headers dynamically in OBIEE

    hey guys.
    We are working on a BI module for Finance. The data mart captures data for Actuals/Forecasts and Budgets for entire year by months (for example Jan2008 will have Actual/Forecast value and Budget value & similarly for other months of the year) .
    Now while displaying on the dashboard reports the column header for the current month should read as Actual and for coming months it should read as Forecast.
    Any suggestions as to where we can implement this business rule so as to make the column header dynamic.
    Thanks
    OBIEE_user

    Seems like you don't know Venkat yet...
    http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/

  • Passing prompt value to column header

    Hi experts
    I'd like to change the column header dynamically.
    the report is using presentation variable so it's displayed after the user had selected a value in the dashboard prompt and clicked on go.
    I'd like to have in the column header the value that the user had selected in the dashboard prompt.
    Is there anyway to do that??
    Regards

    Hi,
    Yes. you can do that by creating presentation variable.
    What you have to do is , create the presentation variable like LOCATION_NBR in the prompt, like this you can create as many as you want to display it in the header.
    The next step is to display the value the user selects in the prompt that should display in the header, for that , you can create narative and like the following things and achieve it.
    <table>
    <tr>
    <td bgcolot ="#00080" width="1500" height="25" align="center">
    The location No is @{LOCATION_NBR}
    </td>
    </tr>
    </table>
    Since we define the presentation variable in Prompt and use it narative view we able to display the header based on the customer choose it from prompt
    I hope the above explanation will resolve your requirement
    Regards
    Raj

  • Getting column headers dynamically from input parameters in alv.

    Hi all,
    I am new to abap, can any one help me in getting column header dynamically through parameters in alv ?
    Eg:-
    i Have parametars for days field ,
    user inputs days as 10 20 30 40.
    Now I want to display in alv column headers as:-
    1st column-  'FROM 0 TO 10'
    2nd column- 'FROM 10 TO 20 '
    3rd column- 'FROM 20 TO 30'
    4th column- 'FROM 30 TO 40'
    5th column- 'FROM 40 TO 50'
    6th column- 'FROM 50 TO 60'
    thanks in advance........

    Check this code snippet:
    Step 1: Create a dynamic table based on the input in the selection screen.
    TYPE-POOLS: abap.
    DATA:
      lr_structdescr    TYPE REF TO cl_abap_structdescr,
      lr_tabledescr     TYPE REF TO cl_abap_tabledescr,
      lr_datadescr      TYPE REF TO cl_abap_datadescr,
      lt_components     TYPE abap_component_tab,
      ls_component      TYPE abap_componentdescr,
      lr_wa             TYPE REF TO data,
      lr_tab            TYPE REF TO data.
    DATA: lv_index TYPE sy-index.
    DATA: lv_index_num(5) TYPE n.
    DATA: lv_index_char(5) TYPE c,
          lv_iter TYPE i,
          lv_low TYPE numc2 VALUE 0,
          lv_high TYPE numc2 VALUE 10.
    DATA: lr_alv TYPE REF TO cl_salv_table.
    FIELD-SYMBOLS: <fs_field> TYPE ANY.
    FIELD-SYMBOLS: <fs_wa> TYPE ANY.
    FIELD-SYMBOLS: <fs_tab> TYPE table.
    PARAMETERS p_numcol(2) TYPE n DEFAULT 50.
    START-OF-SELECTION.
      lv_iter = p_numcol DIV 10.
      DO lv_iter TIMES.
        IF sy-index > 1.
          lv_low = lv_low + 10.
          lv_high = lv_high + 10.
        ENDIF.
        lv_index_num = sy-index.
        lv_index_char = lv_index_num.
        CONCATENATE 'FROM' lv_low 'TO' lv_high INTO ls_component-name
        SEPARATED BY '_'.
        ls_component-type =
        cl_abap_elemdescr=>get_p( p_length = 10 p_decimals = 2 ).
        INSERT ls_component INTO TABLE lt_components.
      ENDDO.
    * get structure descriptor -> lr_STRUCTDESCR
      lr_structdescr
      = cl_abap_structdescr=>create( p_components = lt_components
                                     p_strict = space ).
    * create work area of structure lr_STRUCTDESCR -> lr_WA
      CREATE DATA lr_wa TYPE HANDLE lr_structdescr.
      ASSIGN lr_wa->* TO <fs_wa>.
      lr_datadescr = lr_structdescr.
      lr_tabledescr
      = cl_abap_tabledescr=>create( lr_datadescr ).
    * Create dynamic internal table
      CREATE DATA lr_tab TYPE HANDLE lr_tabledescr.
      ASSIGN lr_tab->* TO <fs_tab>.
    * Populate the internal table
      DO 10 TIMES.
        DO.
          lv_index = sy-index.
          ASSIGN COMPONENT  lv_index  OF STRUCTURE <fs_wa> TO <fs_field>.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          <fs_field> = sy-index.
        ENDDO.
        APPEND <fs_wa> TO <fs_tab>.
      ENDDO.

  • Dyanmic Column Heading in OBIEE

    Hi Experts,
    Can we changes the column heading dynamically.
    We are using OBIEE 10G
    Thanks,

    Hi user,
    Here is the link,might be access is denied in your system check on other system
    http://total-bi.com/2011/03/obiee-dynamic-column-headings/
    Anyways here it is
    2.Use a session variable to dynamically set the column name in the presentation layer of the RPD. E.g.
    3. Use a presentation variable as the column name.
    This is probably the better of the techniques but it is still far from ideal. Simply edit the column properties and put the name as @{variable_name}{default_value}.
    But we still have the problem of how to make this dynamic. Well, we can set a presentation variable using a dashboard prompt so we need to create a prompt and force it to a default value. Note that the prompt will need to be added to the dashboard but can be hidden by setting the CSS style to display:none on the dashboard section.
    Cheers,
    KK

  • Dynamic column heading in csv export not working

    Hi,
    I have a SQL report where the column headings are defined dynamically. for an example let's say I have a report
    SELECT NAME, TODAY'S_DATE FROM TABLE A.
    Under report attribute column I have defined column heading as "&P_todays_date.”. This item has source value “Select sysdate from dual. When I export the data into csv file the dynamic column headings are coming as blank.
    Any suggestions?
    Thanks,
    Manish

    You are posting this question in the PeopleSoft forums. I think it belongs in the BI section:
    https://forums.oracle.com/forums/category.jspa?categoryID=16

Maybe you are looking for

  • TS1363 My iPhone 4s will not upgrade Apps, it appears in windows and Itunes. Apple diagnostics says "URL cannot be found"?

    I recently upgraded from iphone 3gs to iphone 4s.  Backups go fine, the device can be seen in Windows 7 and Itunes.  Apps transfererred fine from old to new phone, however, Apps will not upgrade either over WiFi or by cable.  I tunes diagnostics says

  • BPM payload value reading problem

    Hi all, In a bpm scenario, I have a switch that checks an element's attribute and another that checks an element's value.  In the former case, the TRUE branch gets executed when the condition is satisfied.  However, in the latter the condition is NEV

  • Implementation of refurbishment process

    I want to implement this refurbishment process in already implemented site which does not have this process . Kindly advice me other than process what is to be done in the project . What is exactly do in mm do we need to upload all mm data again or o

  • UPK 11.0 ESP1 to 11.1 ESP1 upgrade - license implications?

    Hi all, This may be a bit naive from my end, but what are the license implications when upgrading from UPK 11.0 to 11.1? Does Oracle allow a client to automatically upgrade to UPK 11.1 when they have purchased 11.0 licenses? Perhaps I am missing some

  • Maxl Start up problem

    Hi All, I am using system 9.3.1. essbase ( Windows 2003 server). When I tried to open maxl in command prompt (essmsh) I am just getting a pop-up which dissappears in seconds. I started essbase server, adminserver. I am able to write commands in Maxl