Using Dynamic Visibility with Accordian Menu

Hiya.  I am trying to use dynamic visibility with an accordian menu.  My menu categories are years, 2005 - 2010. My categories items are key performance indicators such as abandon percentage,  first call resolution, customer satisfaction percentage, call volume and average speed of answer. 
Of my 6 KPIs, 4 display as percentages and 2 display as whole numbers.  When the percentage graphs are displayed the axis labels needs to be percentages.   When the whole number graphs are displayed the axis label needs to show whole numbers.
I thought to achieve this I should use dynamic visibility with two different line charts where one line chart shows percentages and the other line chart shows whole numbers.   However I am strugging trying to make that happen.
Is my concept correct, or is there an easier way to accomplish this?  If my concept is correct,can someone give me some advice on how to make dynamic visibility display the correct chart depending on which KPI I select from my accordian menu?
Thanks!

Hi
You can achieveby doing following steps..
Insert your categories into D3 and label bind to E3.
take two charts and bind to the destination data of Accordion menu
then write a formula in F3 like this =IF(OR(E3="abandon percentage",E3="customer satisfaction percentage"),1,0)
and bind your two charts to the F3 and set DV for % charts as 1 and # charts as 0.
I hope this will helps you
Thanks,
Srinivas Dandamudi.

Similar Messages

  • Help using dynamic XML with Tree Menu

    Can some one please help me? I don't know what I'm doing
    wrong. I'd simply like to be able to load an XML file of data and
    use this data to populate a Flex tree component.
    The XML file needs to reside on the server and will change
    from time to time, so I am loading it via an HTTPService call. The
    part that I can't get to work is the way the
    XML is displayed in the Tree component. It ends up blank or
    sometimes I just get the result of "[object Object]". I know my
    syntax must be screwed up somewhere, but because
    AS3 and Flex are new territory for me, I can't get it to
    work. I am feeling my IQ drop on a minute to minute basis. Please
    help me if you can! Thanks!
    In this example, I am expecting a list of the different
    groceries/categories to show up in the tree menu. Instead, I get
    nothing.
    HERE IS THE XML FILE, CALLED "groceries.xml":
    <catalog>
    <category name="Meat">
    <product name="Buffalo" cost="4" isOrganic="No"
    isLowFat="Yes"/>
    <product name="T Bone Steak" cost="6" isOrganic="No"
    isLowFat="No"/>
    <product name="Whole Chicken" cost="1.5" isOrganic="Yes"
    isLowFat="No"/>
    </category>
    <category name="Vegetables">
    <product name="Broccoli" cost="2.16" isOrganic="Yes"
    isLowFat="Yes"/>
    <product name="Vine Ripened Tomatoes" cost="1.69"
    isOrganic="No" isLowFat="Yes"/>
    <product name="Yellow Peppers" cost="1.25"
    isOrganic="Yes" isLowFat="Yes"/>
    </category>
    <category name="Fruit">
    <product name="Bananas" cost="0.95" isOrganic="Yes"
    isLowFat="Yes"/>
    <product name="Grapes" cost="1.34" isOrganic="No"
    isLowFat="Yes" />
    <product name="Strawberries" cost="2.5" isOrganic="Yes"
    isLowFat="Yes"/>
    </category>
    </catalog>
    HERE IS THE MXML FLEX FILE THAT ISN'T WORKING AS I'D LIKE IT
    TO:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" initialize="initializeHandler(event)" width="240"
    height="340">
    <mx:Script>
    <![CDATA[
    import mx.collections.XMLListCollection;
    import mx.collections.ICollectionView;
    import mx.controls.List;
    private function initializeHandler(event:Event):void {
    textService.send();
    private function resultHandler(event:Event):void {
    myTree.dataProvider = textService.lastResult.catalog;
    ]]>
    </mx:Script>
    <mx:HTTPService id="textService" url="groceries.xml"
    result="resultHandler(event)" />
    <mx:Tree id="myTree" labelField="@name" showRoot="false"
    x="20" y="20" width="200" height="300" />
    </mx:Application>
    Any help is deeply appreciated.

    You must specify a resultformat of e4x. The default
    resultFormat is object. Object only works when you have a very
    simple xml structure that can be consistently represented as a set
    of objects.

  • Dynamic visibility with Push buttons

    Hi ,
    Could anyone please guide me how to use pushbuttons with Dyamic visibilty option.
    Eg:-When I click on Push button1-It should display a bar chart
          When we click on Push button1-It should display a bar chart

    Hopefully it's OK to ask a similar question here rather than create a new thread.
    I would like to use the Label Based Menu component in conjunction with an invisible Toggle Button component (or possibly the new Push Button component).  The hidden button would insert into the same cell that the Label Based Menu component is inserting into.  This allows me to create what looks like a hyperlink in my dashboard that simply affects dynamic visibility.
    This seems to work for the most part, except that the Label Based Menu does not change to reflect the current state accurately.  For example, if both components insert "Apples" or "Bananas" as values into cell A1:
    1. Toggle Button component successfully inserts "Apples" and dynamic visibility works, however
    2. Label Based Menu component still shows "Bananas" as the active menu selection
    I thought I had come across a feature in some components where you could tell the component to update itself based on the changing values in a given insertion cell, but I don't see that now for some reason.

  • Problems with accordian menu, look familiar?

    I just upgraded to SP3, and although I have never used the accordian menu, I think I know what it should look like, but since I upgraded, something seems broken.
    When I go to the accordian menu (properties), all that is available in the menu area is "General", and the only options are "Name", "Value" and "Bind" in the header of the columns.
    Can anyone tell me what I have done?
    Many thanks,
    Johnny

    Hi:
       For Accordion Menu, there should be three tabs under property sheet, General, Behavior, Appearance. Also this component should be only available for Xcelsius Engage, and Enterprise version.
       You can try to reinstall Xcelsius to see whether it is the installation problem.

  • Error Using OPENFILE Action with Process Menu

    Hi, all
    I want to open a perticular .xls file from custom menu using "openfile" keyword.
    It works from BPC for Excel working on server machine (same machine of which I install BPC server), but it doesn't work from client machine separated from BPC server.
    It seems that "openfile" is available, only when I specify a full path and open it from the BPC for Excel on the server machine.
    It does not work with relative path even on the server machine.
    I know that there was a problem on openfile in OutlookSoft v4.2, called "verified bug # 1444 in CPM 4.2 SP3 (4.2.406)".
    Is the case above means that the bug is still in v5.1?

    Sorry to my poor English, Nic.
    I guess I couldn't tell you what I want to do enough.
    /edit from here
    I want to open a Excel file in A TEAM FOLDER from custom menu.
    The TEAM FOLDER is in a server, one of the TEAM folders which path are like this:
    (ServerDriveName):\bpc\data\webfolders\appsetname\appname\TEAM1\
    The level of depth of its path is as same as the folder called COMPANY, I believe that's real path is :(ServerDriveName):\bpc\data\webfolders\appsetname\appname\eExcel\
    I want to open the files in the TEAM folders of server, not under the COMPANY eExcel folder, from custom menu.
    e.g.)
    C:\bpc\data\webfolders\appsetname\appname\TEAM1\testexcel1.xls
    I don't want to locate the files on servers, which I want to open from custom menu, under COMPANY eExcel folder.
    edit end/
    I'd like to show precise messages for perticular team to each users who is in the team. The messages are in the testexcel1.xls, but I have to hide them from users who belong to other team. So, as an first thought, I try to set up the each message files in each TEAM folders to hide from other users and show them to only appropriate users via custom menu.
    Please let me know if I'm trying in a wrong way.
    Thanks again.
    Edited by: Hiroki Kugimoto on Aug 8, 2008 2:35 AM

  • Using dynamic ViewLinks with JDeveloper 10g

    Hello.
    I'm displaing a list of data from tab1 with a sublist of data from tab2, which has a n:m cardinality relationship.
    Attributes:
    k1 - primary key of tab1
    k2 - primary key of tab2
    fk1 - foreign key of tab1 in rel
    fk2 - foreign key of tab2 in rel
    Before data iteration I create dynamic link using createViewLinkBetweenViewObjects(...) method of my ApplicationModule. I use assocClause parameter to define the way of the data association, e.g.:
    select <attrs> from tab2 where k2 in (select fk2 from rel where fk1=:1)Parameter :1 is replaced with k1 from tab1.
    This works fine, but whern I use parameter :1 more times in query, the JBO-27122 (SQL error during statement preparation. Statement: ...) is reported. I have used it with JDeveloper 9i and it worked properly.
    Thanks for any help

    Did you read my reply here:
    Jdeveloper with PVCS

  • Problems using Dynamic parameters with Crystal Reports and SBO 8.8

    Has anyone been able to successfully use a dynamic parameter in Crystal Reports with 8.8 using the Business One connector? When we try we get an additional logon to the database that pops up and the logon fails.
    We need this because we want to return live lists of PO documents from the server for selection. We are also trying to use nested dynamic parameters, because we want to first return the PO document based on the PO number, and then chose specific rows based on a field value in POR1.
    It works if we don't use the Business One connector, but then the report doesn't function properly inside of SAP.
    Any ideas would be appreciated.

    I have tried using tokens but they are too simple. I need something like a subselect where you first select one value and then another that is a subset of those values. Apparently the tokens can't even use a "where" clause.
    SAP dances around Dynamic parameters, but won't come out and say that they can't be used with the B1 connector. If that is the case then they should just say so and stop wasting our time. Apparently Crystal is not truely interfaced with B1, just sort of hanging out with it.
    I don't really care other than I have to do this select, subselect. If someone has a way to do that with tokens I would love to hear it.
    Thanks,
    Roy

  • Crashing while using dynamic linking with aftereffects

    I've been using premier for a while now but i believe i've fond a huge flaw in the dynamic link system. I own a multi-million dollar corporation that specializes in researching the answer for X divided by Zero and this bug is setting us back thousands everyday.
    The problem is when you import a Premier project into aftereffects and then import the same comp back into premier, the result is 8GB of ram wasted in a few seconds with both applications crashing. As you may have guess from our R&D type this sort of multiplication is unaceptable. Please fix.
    Regards, Tom Tomson @ Banana Systems Ltd.

    u mad bro?

  • Trying to use Dynamic Action with button - no #BUTTON_ID#

    I saw this post: Issue with apex  dynamic action
    and I'm having exactly the same issue. I'm using the Blue and Tan Theme and the button's "normal template" looks like the following:
    <table class="t2Button" cellspacing="0" cellpadding="0" border="0"  summary="">
    <tr>
    <td class="t2L"><a href="#LINK#"><img src="#IMAGE_PREFIX#themes/theme_2/button_left.gif" alt="" /></a></td>
    <td class="t2C"><a href="#LINK#">#LABEL#</a></td>
    <td class="t2R"><a href="#LINK#"><img src="#IMAGE_PREFIX#themes/theme_2/button_right.gif" alt="" /></a></td>
    </tr>
    </table>Can someone help me get the #BUTTON_ID# tag in the correct spot?
    (PS. This application was originally built using APEX 3.2 and upgraded to 4.1. Don't know if that matters or not.)

    The button calls a procedure which can take several minutes to complete. It calculates and stores values for display. I'd like to open up a modal window so that the user has more concrete feedback that the calculation process is underway. I'd also like to tie it to the refresh of a particular region on the page that shows a list of the stored calculations.

  • Using dynamic captions with checkboxes

    Hello.
    I want to create a list of checkboxes, according to a table I get from the context, meaning there would be as much checkboxes as the lines in the table, and their caption would be one of the table's fields.
    I turned on Show Dynamic Properties.
    First I tried it with one checkbox, with it's caption related directly to the table's field, and it worked - but with only one checkbox displaying the first line's value, of course.
    Next I put the checkbox in a subform. The subform is related to the table line, and is repeated for every row, and now the caption is only bound to the field's name, relatively.
    So the subform is repeated, but the caption doesn't change at all.
    How can it be done?
    And can I set the checkbox's caption by code? I tried, but it didn't work.
    Best regards,
    Udi.

    Hi,
    try using table control (supported in ALC 8.0) and add the checkboxe in the row.
    You can then map your data node (structure) with the table.
    Ashutosh

  • Using dynamic elements with FMS/FMSS/FMIS...can I do this?

    Hello all,
    Here's an elaboration on the general title of this post:
    On one page of my website, the user has a large selection of videos they can choose from.
    They select one, clicking the link
    This opens a new page (with the player built in?) and plays the video.
    NOW...
    Can I retrieve the data from a query string (the video filename selected from the previous page) and then place it in the action script using PHP (echo) so that I don't have to have separate applications for each video? or do I have to have separate SWF/applications for wach video?
    I'm still way new to this so I apologise if the question isn't clear enough. I'll gladly elaborate where I can.
    Many thanks!!!
    Sincerely,
    wordman

    SE,
    This looks great!!! Let me ask you this: Is there any problem saving my page with the player as .php as opposed to .html? I have a number of dynamic aspects to my web pages that I want to maintain.
    You really are an asset to this forum. thank you and all of the great contributors here so very much!
    Sincerely,
    wordman

  • Using dynamic DataSources with WL 6.1

    Hi All,
    Here is an example of how to create, use and delete
    JDBC DataSources dynamically using JMX and WL 6.1.
    Regards,
    Slava Imeshev
    [DynamicDataSource.java]

    Hi Srinivas,
    "Srinivas Chennamaraja" <[email protected]> wrote in message news:[email protected]..
    Hi Slava!
    If I just have Weblogic 6.1 (as an Admin Server), Would I be able to create
    Dynamic DataSources?. The documentation says that you can't create aYes, you'll be able to create a datasource.
    dynamic Datasource in Weblogic. what is JMX?. I would appreciate if youThis is a brand-new feature.
    describe in detail?.Look here for JMX http://java.sun.com/products/JavaManagement/
    >
    can I create a any type of Datasources dynamically (like TXDatasources...).Yes, you can. Look at our doc site for details.
    http://e-docs.bea.com/wls/docs61/javadocs/weblogic/management/configuration/JDBCTxDataSourceMBean.html
    >
    thanks,
    Srini
    "Slava Imeshev" <[email protected]> wrote in message
    news:3b783560$[email protected]..
    Hi All,
    Here is an example of how to create, use and delete
    JDBC DataSources dynamically using JMX and WL 6.1.
    Regards,
    Slava Imeshev
    [att1.html]

  • Huge query  with  parameter for to use Dynamic Cursor with Parameters

    Hi
    Is possible put the query below like dynmic cursor passing Parameters ?
    How can I do it ?
        OPEN P_CURSOR FOR
        WITH NOTIFICACAO AS(
          SELECT 
           t1.cd_consultora,
           t1.dc_nome_consultora,
           t2.nm_notificacao_cn,
           t2.dt_notificacao_cn dt_notificacao,
           t2.dt_atendimento_notificado,
           t1.cd_tipo_estrutura_comercial,
           t1.cd_estrutura_comercial
            FROM t_consultora t1, nc.t_nc_notificacao_cn t2
           WHERE t2.dt_notificacao_cn BETWEEN w_DTA_INI AND w_DTA_FIM
             AND t2.cd_consultora = t1.cd_consultora
             AND t1.cd_setor = w_cd_setor
             AND t1.cd_tipo_estrutura_comercial = p_tp_estrutura_comercial
             AND t1.cd_estrutura_comercial = p_cd_estrutura_comercial),
        T_NOTIFICADA AS ( select Count(t1.nm_notificacao_cn) over (partition by  t1.cd_consultora,t1.nm_notificacao_cn ) QTD_NOTAS,
                                 Count(t2.nm_item_notificacao_cn) over (partition by  t1.cd_consultora,t1.nm_notificacao_cn ) QTD_ITENS,
                                 T3.*
                                  from nc.t_nc_notificacao_cn t1,
                                       nc.t_nc_item_notificacao_cn  T2,
                                       NOTIFICACAO                  T3 
                                   where       t1.dt_notificacao_cn >= to_date('01/09/2006','dd/mm/yyyy')
                                    and   t3.nm_notificacao_cn = t1.nm_notificacao_cn
                                   and    t1.nm_notificacao_cn = t2.nm_notificacao_cn
                                   and    ((t2.cd_tipo_item_nc = 4 and t2.cd_subtipo_item_nc = 6)
                                           or t2.cd_tipo_item_nc = 2 or t2.cd_tipo_item_nc = 3)
                                           and t3.cd_consultora = t1.cd_consultora (+)  )  ,
        T_BLOQUEADA AS ( SELECT T4.* FROM
                     (SELECT  T3.*,
                            CASE WHEN T3.BLOQUEADA = -1 THEN  'Bloqueada'
                                 WHEN  T3.BLOQUEADA = 0 THEN
                              (CASE WHEN T3.QTD_NOTAS > 2 THEN
                                 CASE WHEN T3.QTD_ITENS > 8 THEN 'Atencao / Analise'
                                 ELSE
                                    'Normal'
                                 END
                               ELSE
                                 'Atencao / Analise'   
                              END)
                             END OBSERVACAO
                      FROM  (SELECT CASE WHEN NVL(T2.ID_CN_BLOQUEADA,1) = 1 then -1
                                   WHEN NVL(T2.ID_CN_BLOQUEADA,1) = 0  THEN 0
                                   END BLOQUEADA, T1.*
                        FROM   T_NOTIFICADA T1,
                               T_PS_CONSULTORA T2 
                               WHERE T1.CD_CONSULTORA = T2.CD_PESSOA)T3) T4 )
            select *
              from (SELECT t1.*, ROWNUM r_linha
               FROM (SELECT  cd_consultora,
                       dc_nome_consultora,
                       fnc_busca_telefone(CD_CONSULTORA, 1) TELEFONE1,
                       fnc_busca_telefone(CD_CONSULTORA, 2) TELEFONE2,
                        EMAIL,
                        observacao,
                       nm_notificacao_cn,
                       nvl(vl_total_final,0) vl_total_final,                  
                       dt_notificacao,
                       qt_produto_item_nc,
                      sg_notificacao,
                      ID_SITUACAO,
                       qtd_registros
                    FROM (SELECT /*+ INDEX(W5 I0_NC_TIPO_ITEM_NC) */
                       W1.cd_consultora,
                       W1.dc_nome_consultora,
                       fnc_busca_telefone(w1.CD_CONSULTORA, 1) TELEFONE1,
                       fnc_busca_telefone(w1.CD_CONSULTORA, 2) TELEFONE2,
                       fnc_busca_email(w1.CD_CONSULTORA) EMAIL,
                       W1.OBSERVACAO observacao,
                       W1.nm_notificacao_cn,
                       sum(W4.qt_produto_nf *
                           W4.vl_unitario_final_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) vl_total_final,
                       W1.dt_notificacao,
                       sum(W4.qt_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) qt_produto_item_nc,
                       'PENDENTE' sg_notificacao,
                       W5.dc_tipo_item_nc ID_SITUACAO,
                       W_qtd_registros qtd_registros
                        FROM T_BLOQUEADA               W1,
                             nc.t_nc_item_notificacao_cn W2,
                             nc.t_nc_produto_item_nc     W3,
                             nc.t_nc_produto_item_nf     W4,
                             nc.t_nc_tipo_item_nc        W5
                       WHERE W1.dt_atendimento_notificado is null
                         and W1.nm_notificacao_cn =
                             W2.nm_notificacao_cn
                         and W2.cd_tipo_item_nc = W5.cd_tipo_item_nc
                         and W2.nm_notificacao_cn =
                             W3.nm_notificacao_cn(+)
                         and W2.nm_item_notificacao_cn =
                             W3.nm_item_notificacao_cn(+)
                         and W3.nm_notificacao_cn =
                             W4.nm_notificacao_cn(+)
                         and W3.nm_item_notificacao_cn =
                             W4.nm_item_notificacao_cn(+)
                         and W3.nm_sequencia_produto_item_nc =
                             W4.nm_sequencia_produto_item_nc(+)
                         and W2.cd_tipo_item_nc not in (6, 7)
                         and ((W2.id_situacao_item_nc = 1) OR
                             (W2.id_situacao_item_nc = 3 OR
                             W2.id_solucao_definida is not null))
                      UNION
                      SELECT /*+ INDEX(W5 I0_NC_TIPO_ITEM_NC) */
                       W1.cd_consultora,
                       W1.dc_nome_consultora,
                       fnc_busca_telefone(w1.CD_CONSULTORA, 1) TELEFONE1,
                       fnc_busca_telefone(w1.CD_CONSULTORA, 2) TELEFONE2,
                       fnc_busca_email(w1.CD_CONSULTORA) EMAIL,
                       W1.OBSERVACAO observacao,
                       W1.nm_notificacao_cn,
                       sum(W4.qt_produto_nf *
                           W4.vl_unitario_final_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) vl_total_final,
                       W1.dt_notificacao,
                       sum(W4.qt_produto_nf) OVER(PARTITION BY W1.cd_consultora, W1.nm_notificacao_cn) qt_produto_item_nc,
                       'ATENDIDO' sg_notificacao,
                       W5.dc_tipo_item_nc ID_SITUACAO,
                       W_qtd_registros qtd_registros
                        FROM T_BLOQUEADA                W1,
                             nc.t_nc_item_notificacao_cn W2,
                             nc.t_nc_produto_item_nc     W3,
                             nc.t_nc_produto_item_nf     W4,
                             nc.t_nc_tipo_item_nc        W5
                       WHERE W1.dt_atendimento_notificado is not null
                         and W1.nm_notificacao_cn =
                             W2.nm_notificacao_cn
                         and W2.cd_tipo_item_nc = W5.cd_tipo_item_nc
                         and W2.nm_notificacao_cn =
                             W3.nm_notificacao_cn(+)
                         and W2.nm_item_notificacao_cn =
                             W3.nm_item_notificacao_cn(+)
                         and W3.nm_notificacao_cn =
                             W4.nm_notificacao_cn(+)
                         and W3.nm_item_notificacao_cn =
                             W4.nm_item_notificacao_cn(+)
                         and W3.nm_sequencia_produto_item_nc =
                             W4.nm_sequencia_produto_item_nc(+)
                             )T2
    ---- here with NDS   I changed order by
                       ORDER BY DECODE(p_nm_asc_desc,0,DECODE(p_nm_col_ordem ,1, cd_consultora,2,dc_nome_consultora)) ASC, --,8,vl_total_final)) ASC,
                       DECODE(p_nm_asc_desc,1,DECODE(p_nm_col_ordem ,1, cd_consultora,2,dc_nome_consultora)) desc --,8,vl_total_final)) DESC
                             ) T1
               where rownum <= W_TO_REC)
             where r_linha >= W_FROM_REC;Is It Query very much great and how can I to pass parameters w_DTA_INI ,w_DTA_FIM, W_TO_REC,W_FROM_REc ....etc
    TIA

    I did (some time ago and it was a packaged procedure) something like
    Procedure p(p_one in datatype,p_two in datatype,p_dataset out sys_refcursor) is
      the_sql varchar2(32000);
      the_cursor sys_refcursor;
    begin
      the_sql = 'WITH NOTIFICACAO AS( ' ||
                '      SELECT ' ||
                '       t1.cd_consultora, ' ||
                '                               where       t1.dt_notificacao_cn >= to_date(''01/09/2006'',''dd/mm/yyyy'') ' ||  -- note the ''
                '           where rownum <= :W_TO_REC) ' ||   -- parameter 1
                '         where r_linha >= :W_FROM_REC ';     -- parameter 2
      open the_cursor for the_sql using p_one,p_two;  -- just by the book
    end p;if I remember correctly
    Regards
    Etbin

  • Dynamic textview with menu

    Hi all,
    I am trying to code a dynamic textview with a menu.
    So the point of it would be to click on the textview and get a menu that pops open under the textview.
    The menu is an ui element, and when I make it statically everything goes well... but when I try this code, I don't get the menu...
    Data lo_txv type ref to cl_wd_text_view.
    Data lo_menu type ref to cl_wd_menu.
    Data lo_menu_action_item type ref to cl_wd_menu_action_item.
    lo_txv = cl_wd_text_view=>new_text_view( ID = 'TEST'  TEXT = 'TEXT' ).
    lo_menu = cl_wd_menu=>new_menu( ID = 'MENU'    TITLE = 'TITLE' ).
    lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM1' TEXT = 'ITEM1' ON_ACTION = 'EMPTY_ACTION' ).
    lo_menu->add_item( lo_menu_action_item ).
    lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM2' TEXT = 'ITEM2' ON_ACTION = 'EMPTY_ACTION' ).
    lo_menu->add_item( lo_menu_action_item ).
    lo_txv->set_menu( lo_menu )
    This code should give me a textview with a menu with 2 items... but it doesn't.
    Could someone please help me out ??
    Thanks in Advance,
    David Bellers

    Thanks for your reply,
    I didn't write the code down for the matrixlayout, but it is correctly implemented.
    Do I have to add the view to the textview?
    When programming dynamically I've never had to work with the view itself, most of the time,
    I add the elements to a container and that container is in the view...
    Just to have everything I'll change the code to do every exact step...
    Data lo_txv type ref to cl_wd_text_view.
    Data lo_menu type ref to cl_wd_menu.
    Data lo_menu_action_item type ref to cl_wd_menu_action_item.
    lo_txv = cl_wd_text_view=>new_text_view( ID = 'TEST'  TEXT = 'TEXT' ).
    lo_menu = cl_wd_menu=>new_menu( ID = 'MENU'    TITLE = 'TITLE' ).
    lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM1' TEXT = 'ITEM1' ON_ACTION = 'EMPTY_ACTION' ).
    lo_menu->add_item( lo_menu_action_item ).
    lo_menu_action_item = cl_wd_menu_action_item=>new_action_item( ID = 'ITEM2' TEXT = 'ITEM2' ON_ACTION = 'EMPTY_ACTION' ).
    lo_menu->add_item( lo_menu_action_item ).
    lo_txv->set_menu( lo_menu ).
    cl_wd_matrix_head_data=>new_matrix_head_data( element = lo_xv ).
    container->add_child( the_child = lo_txv ).

  • Dynamic visibility for icon

    Hi friends,
    In my current dasboard i am using dynamic visibility functionality. So for that i am using 2 icons for pricing & costing,2 pie charts for pricing & costing.
    for this i map like for each icon in destination property i gave i blank cell in excel. For corresponding pie chart in behavior tab ->Dynamic visibility for status tab i used that blank cell. Its working fine but when user click on icon1 then it showing the corresponding pie chart. when ever we click i con2 it show pie chart over the old one.
    So my question is how to disable automatically  the the first pie chart..
    Thanks
    Yogisha.G

    Hi Yogisha,
    Insted of taking 2 icons i suggest you to take a radio button with lables Pricing and Costing.
    Use of radio button makes the functionality clear and flexible as only one will be selected at any point of time .
    Take source as pricing and Costing eg:Sheet1!$A$1:$A$2
    Destination as blank cell eg:Sheet1!$C$1
    take your pie chart for Pricing and Give status as Sheet1!$C$1
    Key as Pricing(Sheet1!$A$1)
    take your pie chart for costing and Give status as Sheet1!$C$1
    Key as Pricing(Sheet1!$A$2)
    Change the orientation of radio button as horizontal.
    Note :Make shure that Key cell matches exact format in which labels are given .
    Hope this helps you .
    @Sri

Maybe you are looking for