Dynamically change region sequence/column

I have a page that has many regions on it (ie. dashboard). The regions are all set to customize so the user can hide/show any of them. I have them all set with Display Point Page Template Body (3) and in columns 1-3 (see below):
Region 1 Region 2 Region 3
Region 4 Region 5 Region 6
My problem is that the users want to be able to decide what sequence/column to display each region. .ie move Region5 under the 1st column or move it above Region 2. Is there any way to do that? Should I be using a different approach for dashboarding?
Thanks

Hi Bob,
it should be possible with Javascript. Each region is contained in a HTML-table cell. With the region static-id you can identify each region with something like :
theRegion = document.getElementById('region static-id')
the HTML-content of the region would be.
theRegion.innerHTML
You should be able to exchange the content of the regions like this.
DickDral

Similar Messages

  • How can I dynamically change group field column?

    Hello!
    I need to group data and create group totals for that table. Is
    it possible to dynamically change group field column for
    specific table, depending on data retreived from parameter form?
    Thanks,
    Mario.

    quote:
    Originally posted by:
    ljonny18
    Hi,
    I am using a grid within a component in my Flex application.
    I have an XML dataProvider, and I want to change the row
    colour of my Grid depending on a value coming form my dataProvider
    – but I cant seem to get this to work :(
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    Thanks,
    Jon.
    Hi,
    a few hours ago I stumbled across this cookbook entry - it
    didn't solve MY problem, but maybe it provides a way to solve your
    problem?
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&product Id=2&loc=en_US
    From the article:
    quote:
    Changing the background color of a DataGrid cell is not as
    simple as changing some style because the default renderer for a
    DataGrid cell does not have a backgroundColor. Therefore, to do
    this simple task, you have to create a custom itemRenderer where
    you draw your own background in the updateDisplayList function.
    HTH
    Uwe

  • Dynamically change the report column name.

    Hi All,
    I have a report where i am showing data for greater than current week and year and the code of same is below
    SELECT
        item_number,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+1 THEN
                    quantity
            END
        ) plus_1,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+2 THEN
                    quantity
            END
        ) plus_2,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+3 THEN
                    quantity
            END
        ) plus_3,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+4 THEN
                    quantity
            END
        ) plus_4,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+5 THEN
                    quantity
            END
        ) plus_5,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+6 THEN
                    quantity
            END
        ) plus_6,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+7 THEN
                    quantity
            END
        ) plus_7,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+8 THEN
                    quantity
            END
        ) plus_8,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+9 THEN
                    quantity
            END
        ) plus_9,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+10 THEN
                    quantity
            END
        ) plus_10,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+11 THEN
                    quantity
            END
        ) plus_11,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+12 THEN
                    quantity
            END
        ) plus_12,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+13 THEN
                    quantity
            END
        ) plus_13     
    FROM
        (   select
                re.item_number,
                row_gen.year_week_num,
                SUM(NVL(re.quantity,0)) OVER(PARTITION BY re.item_number ORDER BY row_gen.year_week_num) quantity,
                ROW_NUMBER() OVER(PARTITION BY re.item_number, row_gen.year_week_num ORDER BY NULL) rn
            from
                (   SELECT
                        to_number(to_char(sysdate,'IW')) + ROWNUM year_week_num
                    FROM
                        DUAL
                    CONNECT BY LEVEL <= 13
                ) row_gen LEFT OUTER JOIN
                        (   SELECT
                                le.item_number,
                                le.quantity,
                                to_number(to_char(sysdate,'IW'))+1 year_week_num
                            FROM
                                BACKLOG_WEEK_WH_AFTR_ATP le
                            UNION ALL
                            SELECT
                                re.item_number,
                                -re.quantity,
                                to_number(substr(re.year_week,-2,2)) year_week_num
                            FROM
                                BACKLOG_ATP_GT_CW re
                         ) re
                    PARTITION BY (re.item_number)
                    ON ( row_gen.year_week_num = re.year_week_num)
    WHERE
        rn = 1
    GROUP BY
        item_numberI have a item in the report page from which i am displaying which week this year holds and the code of same is below
    In the item source, i have selected source type as sql query return single value. and the current week is returning as "2011-WK30"
    select to_char(sysdate,'YYYY"-WK"IW') from dual;Please suggest how i can change the display of column dynamically. I want PLUS_1 to show as 2011-WK31, PLUS_2 to show as 2011-WK32 and so on for this week. When next week will come then the plus_1 should show as 2011-WK32, plus_2 to show as 2011-WK33.
    Any help how to do this?
    Thanks in advance
    Regards

    Hi,
    Go to the Report Attributes, in the Column Attributes section:
    1) Use Headings Type as PL/SQL.
    2) In the text area Function returning colon delimited headings write a PL/SQL anonymous block returning colon delimited headings.
    Hope it helps!
    Regards,
    Kiran

  • Dynamically change number of columns in report

    all,
    I am trying to change the number of columns in a report dynamically as in this sample(http://actionet.homelinux.net/htmldb/f?p=LSPDEMO:60:11041263091189::NO:::) , can somebody who has this code kindly send it to me or make reference...i'll appreciate

    But Howards solution is easier to follow and works perfectly with a shuttle.
    Define a function like this:
    create or replace FUNCTION item_in_list(p_num IN NUMBER, p_shuttle_name in VARCHAR2)
    RETURN NUMBER
    IS
        l_vc_arr2   APEX_APPLICATION_GLOBAL.VC_ARR2;
        TYPE number_list is TABLE OF NUMBER;
        num_list number_list := number_list();
        x_ret NUMBER;
    BEGIN
        /* checks if p_num exists in the colon delimited list p_shuttle_name */
            l_vc_arr2 := APEX_UTIL.STRING_TO_TABLE(p_shuttle_name);
            FOR i IN 1..l_vc_arr2.COUNT LOOP
                num_list.EXTEND;
                num_list(i):= CAST(l_vc_arr2(i) AS NUMBER);
            END LOOP;
            IF p_num MEMBER OF num_list then
                return 1;
            else
                return 0;
            end if;
    END;
    And then for every column put a condition (Function returning boolean) like this:
    begin
    if item_in_list(1, : p10_shuttle) = 1 then
    return true;
    else
    return false;
    end if;
    end;
    where 1 in my case is the return lov value.
    This is if your shuttle's return value is numeric and display value is varchar2. If both are varchar2 use instr as Howard suggested.
    Its probably not as fancy as the Jquery one but gets the job done.

  • Dynamic change of headings in SQL Report

    Can you dynamically change a reports Column Heading Text. I want a selected value from the database to become 1 of the column headings.

    If you are ready to take bit of trouble and modify the generated package body. you can try the following.
    1. go to the procedure show_internal in the generated package body.
    2. you will see PORTAL30.wwv_user_utilities.add_other_arguments(
    3. 'p_other_args' parameter has "_col_headings" as one of the values.
    4. the corresponding 'p_other_vals' values will show up in the report column heading. [ an example is PORTAL30.wwv_user_lang.lang('Empno') ]
    So if you can pass your 'dynamic' heading values here, you can change the report heading dynamically.

  • Dynamically changing Layout Managers Constraints

    Hi,
    Does any one worked on Changing the layout Constraints dynamically before ?, If so Can you explain me your experience and how it can be possible ?
    Thanks,
    Chekks

    There are several ways of doing this, it really depends on your requirements as to which is suitable. (There are probably other ways of doing this as well).
    - Try Reports XML Customizations
    This is available in 6i and allows you to create a report dynamically on the fly. The template used will also allow you to change the paper size as well. The main limitation is that you are relying only on Reports defaulting to create the layout for you. The advantage is that you can store all your information to create the report in meta-data which can be driven by another tool.
    - Use lexical parameters for queries and format triggers
    Here, you have a fixed layout but dynamically change the query columns to the correct order. You would normally standardise on a "character" column type in order to do this. Even though the layout is fixed, you can use variable sized fields to push objects around. This can be difficult to setup.
    - Use several layouts
    You're reducing the options for the user, but you can have several layouts in the same report and turn them on/off. Effectively creating differing views of the same data.

  • Dynamically changing the layout of thre report-urgent please

    Can we change the layout of the report dynamically during runtime for example:the user should have flexibility to change the width, size , position of columns before the report is displayed & also he choose some fields not to display as per his discretion.
    Mahesh

    There are several ways of doing this, it really depends on your requirements as to which is suitable. (There are probably other ways of doing this as well).
    - Try Reports XML Customizations
    This is available in 6i and allows you to create a report dynamically on the fly. The template used will also allow you to change the paper size as well. The main limitation is that you are relying only on Reports defaulting to create the layout for you. The advantage is that you can store all your information to create the report in meta-data which can be driven by another tool.
    - Use lexical parameters for queries and format triggers
    Here, you have a fixed layout but dynamically change the query columns to the correct order. You would normally standardise on a "character" column type in order to do this. Even though the layout is fixed, you can use variable sized fields to push objects around. This can be difficult to setup.
    - Use several layouts
    You're reducing the options for the user, but you can have several layouts in the same report and turn them on/off. Effectively creating differing views of the same data.

  • Dynamically change the column name....

    Hi,
    I am facing a problem in displaying name of the columns dynamically as a parameter selected from the dashboard prompt.
    I have some facts which contains data according to the selected month (From Prompt).
    As of now the column names are:
    Curr, Next1, Next2, Next3 which displays the data for the months accordingly to the selected month from prompt.
    Data is coming correctly but on the report the column name are displayed as Curr, Next1, Next2 and Next3 which I want to be displayed as the month name for which it contains data.
    How can I do that? I have tried presentation variables to be used in custom heading but that is only as string.
    Thanks in advance !!!
    Regards,
    S Anand
    Edited by: S Anand on Nov 20, 2009 2:29 AM
    Edited by: S Anand on Nov 20, 2009 2:29 AM

    My scenario is little different, let me explain:
    My columns will remain same but values changes (based on column formula) according to the selected prompt value
    If I select 'Oct' from prompt then
    Curr will contain data for 'Oct' only
    Next1 will contain data for 'Nov' only
    Next2 will contain data for 'Dec' only
    Next3 will contain data for 'Jan' of next year only.
    Later if I select 'Jul' from prompt then
    Curr will contain data for 'Jul' only
    Next1 will contain data for 'Aug' only
    Next2 will contain data for 'Sep' only
    Next3 will contain data for 'Oct' only.
    I don't have different columns for each months but the columns are capable to reflect data for any month.
    So, how can I reflect the column name as month name for which that contains data.
    Regards,
    S Anand

  • 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

  • Change Table control Column Header text dynamically

    Hi,
    I have an requirement to change table control column header text dynamically.
    i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.
    I had looked into the below link but could not get exactly how to do it.
    Dynamic headers in table control
    Could you please tell me how to do that.
    Thanks in Advance.

    Hi Saba,
    What you will need to do is this.....
    1. First replace the column Header Text box by I/O Fields and name them accordingly.
    Say for example we will consider the same example which i had explained in the link.
    there in the column header we want the header to change when some dates and entered into two fields which are out of table control say
    Start Date: 01.01.2010 to End Date: 06.01.2010
    Now we want the header to look like this,
    Column  No.    -        1               2             3                  4               5               6
    Header label   -    01/FRI       02/SAT     03/SUN       04/MON     05/TUE      06/WED
    Header name -    SPOTS1   SPOTS2    SPOTS3      SPOTS4     SPOTS5    SPOTS6
    then you go as per the instructions in the link......
    Let me know if you need further help,
    Hope this solves your problem....
    Regards,
    Abhijit G. Borkar

  • Dynamically changing column display type

    Hi,
    I have a report that gets generated every day with different column names. The report contains a decode statement that uses a row value to return using pictures. The problem I am running into is the column is being displayed as text and the value of the row is showing up as some html text instead of the picture. The default Column report in APEX 4.1 is for the report to be displayed as "Display as Text". I know the APEX team did this for security reasons. Is there any other way to display the column as "Standard Report Column".
    I want the report to be displayed as a "Standard Report Column" instead of me going in and changing it manually to "Standard Report Column".
    Any help in the right direction is appreciated.
    -Abe

    I have been trying to find the same solution... the ability to either default all my columns to "Standard Report Column" instead of "Display as Text" or to dynamically change them from code. Or it would even be great if the "Display As" value on report columns (both Classic Reports and Interactive, mine is Classic) was a column in the "Column Attributes" table on the "Report Attributes" page so that I could just change them all and hit "Apply" from that one page instead of having to go into each column's properties individually. (It's time consuming and tedious and easy to miss columns because I can't tell what I've changed.)
    If anyone has any thoughts, I'd love to hear them...

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

  • Dynamic change selected columns

    hi all,
    Created an anwers with 5 columns:
    level1 | level2 | level3 | level4 | facts
    I created a session filter on all the level columns. Like this:
    level1 = session.value or
    level2 = session.value or
    level3 = session.value or
    level4 = session.value
    Now i want to dynamic change the columns depended on wich column contains the session value.
    For example: level2 contains the session value. The ouput I (want to) expect:
    level1 | level2 | facts
    Hope someone can help with this...tnx in advanced

    More information at this link:
    http://oraclebizint.wordpress.com/2007/11/16/oracle-bi-ee-101332-using-indexcol-function-varying-underlying-columns-based-on-user-login/
    Hope this helps
    Swapan.

  • CATS- change the sequence of columns

    Hi,
    Can we change the sequence of the columns in the time sheet the way it appears?
    Lets say.. currently, PERNR - Name - sender cost center - activity type - rec order - activity - designation.. is the sequence.
    Can we make it to
    PERNR - name - designation - sender cost center - rec order - activity type - activity
    By dragging from one column to another column in  Tcode:CAT2, it was change, but its not saved.
    Please let me know.
    Regards
    Vijay

    Hi,
    I got the solution
    Regards
    Vijay

  • Is it possible to change nunmber of columns dynamically in table control

    Is it possible to change number of columns dynamically in table control? if so how it could be done?
    Thnaks in advance.
    Sounder

    You can update the table control in your program, the table control is a structure of the type CXTAB_CONTROL of TYPE-POOLS cxtab.
    There you can hide or display column the same way you do for fields in LOOP AT SCREEN. there you will ahve to LOOP AT <control>-COLS.
    TYPE-POOL CXTAB .                                                                               
    TYPES:                                                                               
    BEGIN OF CXTAB_COLUMN,                                                          
             SCREEN      LIKE SCREEN,     "Attributes struktur SCREEN                      
             INDEX       TYPE I,         "Position of a column on the screen               
             SELECTED(1) TYPE C,          "Indicator 'column selected'                     
             VISLENGTH   LIKE ICON-OLENG, "Visualised length of a column                   
             INVISIBLE(1) TYPE C,         "Indicator 'column invisible'                    
           END   OF CXTAB_COLUMN,                                                                               
    BEGIN OF CXTAB_CONTROL,                                                         
             FIXED_COLS    TYPE I, "Number of fixed columns                                
             LINES         TYPE I, "Number of lines to display                             
             TOP_LINE      TYPE I, "Top line during next PBO                               
             CURRENT_LINE  TYPE I, "Current line during LOOP/ENDLOOP                       
             LEFT_COL       TYPE I, "Fist scrollable column after fixed area               
             LINE_SEL_MODE    TYPE I, "Line-selection  : none(0), single(1),               
             COL_SEL_MODE     TYPE I, "Column-selection:        multiple(2)                
             LINE_SELECTOR(1) TYPE C, "Indicator: 'With line-selection col'                
             V_SCROLL(1) TYPE C,            "not used                                      
             H_GRID(1) TYPE C,        "Indicator: 'Horizontal  grid-lines'                 
             V_GRID(1) TYPE C,     "Indicator: 'Vertikal    grid-lines'                    
             COLS      TYPE STANDARD TABLE OF CXTAB_COLUMN                                 
                            WITH NON-UNIQUE DEFAULT KEY,                                   
             INVISIBLE(1) TYPE C,                                                          
           END   OF CXTAB_CONTROL,                                                         
    Regards

Maybe you are looking for

  • How do I add a video effect to multiple clips in my timeline at once?

    How do I add a video effect to multiple clips in my timeline at once?

  • Why am I unable to install Premiere Pro and After Effects

    I have been all through that on the live chat. There is no solution it appears. i am paying a subscription for what i am now unable to use. Even the free trials it wont let me down load on my laptop. I tried on my desktop and it will let me sign into

  • Parameter for selection screen

    Hi All, I want a parameter (Input box) in my selection-screen which can hold 250 characters . I don't want to make screen for this, I want to do it using selection-screen only. Is it possible to do this. Please provide me solution for this. Thanks. S

  • Text missing for 0calmonth2

    Hello Gurus, i am unable to c text for 0calmonth2 in the query outputit shows like 10 11 12 instead of text october or oct i have search the forum for the issue. and accdly check the 0calmonth2 Bex dispaly property as text in RSD1. and also check the

  • Sync doesn't work after re-install

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/1015872 /questions/1015872]'' I had sync working on my windows machine, and firefox was always up to date. After re-installing windows I connected to