Table Visibility

I have two tables, in the init of the view it's only visible the first one, when I select a row I want to change the visibility of the second at the event onleadSelection. I know that I have the wdDoModifyView method but I don't know how to use it in the action method.
Thanks a lot
Juan

Hi,
1. Create an action and bind  to the first table "onLeadSelect" event.
2. create valueattribute "tableVisibility" of type "WDVISIBILITY"
3. In the action wrtite the following
   wdContext.currentContextElement().settableVisibility(WDVISIBILITY.VISIBLE);
Regards, Anilkumar

Similar Messages

  • Group and table visibility

    Hello Friends,
    I am facing a problem as follows:
    In an existing application I am trying to modify some code: there is a group which contains two tables the visibility of both tables are set to context element node also called visibility: and its elements table_1 is set to visibility property of first table and table_2 value attribute is set to visibility property of the second table.
    Now from the coading as far as I understood it is as follows:
    When the first table is set to NONE the second table is automatially visible and first table is disappered, and as soon as in coading it makes the first table visible the second table is automatically disappred ?
    Can any one pls help me in understanding how/what is going on ?
    Because the issue is I have to place now a third table and when this table is visible then the other two tables should not be visible, .......
    Regards

    Hi,
    In the wdDoModifyView:- Now put the if condition for tables that if one is VISIBLE then other two should be set as NONE.
    Regards,
    Praveen

  • How to make tables visible for Group Operations

    Hi:
    - SunMC Group Operations has a 'Modules Table' option which
    allows users to edit tables within a module
    - Why is it that for some modules, the tables are not visible at all, but
    for other modules, the tables are visible ?
    - Is there any documentation available which outlines how to make a module's
    table visible under SunMC Group Operations 'Modules Table' option ?
    thanks
    J L

    Please check the below thread.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/eff6e995-e13e-4e30-844e-6242a613daff/making-sp-apps-visibleinvisible-to-users
    My Blog- http://www.sharepoint-journey.com| Twitter
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful

  • Make Table visible after button is clicked

    Hi,
    How to make a table visible only after a button is clicked on the screen?
    I have two input fields and based on that data we click a search button and data is displayed.
    How to make the table  visible only after the button is clicked.
    Regrads

    hi ,
    u proceed as follows :
    1 bind visible property ur table to a context attribute of type wdui_visibility
    2 set the default value to '01' , making it '01 ' means initially ur UI wud be invisible
    3 in the onActionEvent method , when button is clicked , read the context attribute
    4 set its value to '02' using set_attribute method , u can do it using code wizard
    DATA lo_nd_cn_all TYPE REF TO if_wd_context_node.
         DATA lo_el_cn_all TYPE REF TO if_wd_context_element.
         DATA ls_cn_all TYPE wd_this->element_cn_all.
         DATA lv_invisible LIKE ls_cn_all-invisible.
    *    navigate from <CONTEXT> to <CN_ALL> via lead selection
         lo_nd_cn_all = wd_context->get_child_node(
         name = wd_this->wdctx_cn_all ).
    *    get element via lead selection
         lo_el_cn_all = lo_nd_cn_all->get_element(  ).
    *    get single attribute
         lo_el_cn_all->set_attribute(
           EXPORTING
             name  =  `INVISIBLE`
             value = '02' ).
    set attribute INVISBLE under context node cn_All to visible
    5 press control + f7 , use the radio button read context node /attribute
    for visible / invisble , instead of setting attribute to '01' and '02' , u can do it dis way
    wd_context->set_attribute( name = '<attribute name>' value = if_wdl_core=>visibility_visible )." to make it visible.
    wd_context->set_attribute( name = '<attribute name>' value = if_wdl_core=>visibility_none ). "to make it invisible
    this way u wud be able to achieve ur desired functionality
    regards,
    amit

  • Table Visibility settings

    Hi,
    I have two tables ( list and details) in the model.
    After selecting item in list table details will be displayed in details table.
    I want to display initially only one table (list table). After selecting item in list table then only i want to display details table.
    Please let me know how can we achive this.
    Thanks

    Hi!
    You can use visibility conditions. To display the second table make something like !isnull(@PURCHASE_NUMBER) with a field that the user click.
    And for the first table, that you want to hide  - make the same condition without ! - e.g. isnull(@PURCHASE_NUMBER)
    for example.
    That might work.
    /jakob

  • Button Action and Table Visibility

    Hi,
    I have created a Submit button and a table UI.
    Requirement is
    1) Intial deployment button and table should be visible (its working fine)
    2) if i click on Submit Button, Table UI should not be visible (its working fine)
    3) if once again i click on Submit Button if Table should be visible ( How to implement this).
    i.e on Action of submit button if table is already visible it should invisible and viceversa.
    Please help.
    Regards,
    Bharath

    Hi Bharath,
        Action button code
    if(tableFlag = true)
      tableFlag = false;
    else
      tableFlag = true; 
    DoModifyView Code:
    if(tableFlag = true)
       wdContext.currentContextelement.setVisible (WDVisibility.VISIBLE);
       tableFlag = true;
    else
      wdContext.currentContextelement.setVisible (WDVisibility.NONE);
      tableFlag = false;
    Declare it static in bottom
    tableFlag = false;
    I try to do work around like this
    Regards, Suresh KB

  • How to set table visibility in run time?

    Dear all,
               Initially i need to make my table invisible. if i click the button, it should be visible. Help me out to do this.
    Thanks,
    Gopi.

    Hi,
    Rather hiding the table, apply the same for the transparant container...
    Create a transparent contianer(TCO) and inside this have the TABLE....
    Create a context attribtue of type wdui_visibility and bind it to the visible property oft the TCO.
    After that, based on the data existence set this attribute value...
    Do you have any input fields and this table in the same view....waht is your design....
    If you have data in the internal table.......
    data lv_visible type wdui_visibility.
    if lt_table is not initial.
    lv_viisble = '02''.
    else.
    lv_visible = '01'.
    endif.
    wd_context->set_attribute
    exporting
    name = 'VISIBLE_TCO'
    value = lv_visible.
    Hope this is clear...
    Regards,
    Lekha.

  • Tables visibility

    Hello
    i'm new to livecycle and i'm developing an application which fille a pdf with some data retrieved from database.
    One of this pdf has to visualize a set of tables. I need to visualize the tables only if they contains rows, otherwise they must be hidden. I'm been able to do this using scripts (i've tried to set the behaviuor from the designer : repeat table, min count ect, but it leaved an empty space if the previuos table were empty). Now the customer whishes each visible table starts on the new page, but setting the property pagination->place to start on new page bring me back to the problem of having the first page with only the header text shown. This happen when the first table is empty but the second is filled.
    there is "conditional break " option, which require javascript but don't know what to write inside
    thank you in davance
    Stefano

    they are set to hidden(exclude from layout)by default , i get the row count with javascript and if it's greater than 0 i set the property to visible.
    I've placed the script into layout ready event,after adding some messageboxes i've found the count get calculated twice. Anyway my problem was how to force the second table not to go to new page when the first table was empty (so removed from layout). I've resolved putting Place = "following preaviuos" and after="go to new page" for each table,
    instead of Place = "go to new page"
    thank anyway for your support

  • Synonym (to table) visibility in Query Builder?

    Hello,
    I have a schema that contains a table or two, and a bunch of synonyms to other tables in other schemas. In my current Query Builder (1.1.3 MAIN-27.69), I don't see the tables represented by the synonyms -- other available tools show the tables in their visual query builder, so I'm wondering if there is some function to enable this in Oracle's SQL Developer?
    Update: to be more specific, the other tool being evaluated (freeware) is QueryReporter, and its visual query builder includes synonym-table links. I'm trying to steer the staff to SQL Developer, but this is a pretty heavily used capability in QR
    I apologize if this has been asked before, I searched the Forum but found no hits.
    Message was edited by:
    Lee McCann
    Message was edited by:
    Lee McCann

    No, we do not support synonyms in the query builder, but you can switch users in the drop list on the top left hand corner.
    We have a bug logged for this.
    Sue

  • How to make table borders visible in BI Publisher report

    Hi,
    I'm trying to create a BI Publisher report that contains a number of table and want to make sure the borders of the table visible after publishing. Can you anyone tell me how?
    Edited by: user11001592 on Jan 22, 2010 2:50 AM

    In Word, if you have set the borders on then you should see them in the output. In Word it has a setting to let you see 'gridlines' even if they are not set ie you have turned the borders off. Highlight the table and set all the borders on and re-try. If that fails, try building the table from scratch and copy the cell contents across to the new table
    Tim

  • How to load SAP R/3 tables into a schema in SAP HANA Cloud Platform

    Hello, everyone.
    First of all, my apologies for any basic mistakes, I'm new here, so there's a lot of stuff I don't know yet.
    I need to upload some tables to a schema in my HANA trial account to test some algorithms and see if the kind of application I want to build is possible, but I don't know the best way to do this.
    To my understanding, using the Cloud Connector would merely make my tables visible to my application in the cloud, but it would not actually upload them (or rather, I'm sure there's a way to upload them using it, but I suspect there are far simpler methods out there).
    I think one of the simplest possible methods would be to create the schema, open a tunnel using the console client, and to import the tables to the schema via the HANA Studio. Maybe, if that doesn't work, a CMIS repository could be used (although I'm somewhat skeptical, as I think something like this it's not its intended use). Or maybe there's another possibility I'm not seeing. Either way, I would love to hear some answers that could shed some light on this.
    Also, as I mentioned earlier I'm only using a trial account for this, I don't know if there's any limitation that could prevent me from doing this. I'd also like to hear your opinion on this matter.
    Thank you.

    BUDAT is the technical name for Posting Date field. This field is used many DB Tables/ Strucutres. Using where used option you can find the required tables.
    I suggest you to look at BSEG table for Finace Document postings by Posting Date.

  • Is there a way to collapse and expand a whole table within a sheet?

    I have sheets where I'd like to keep many tables all within the same page, and each table has quite a bit of data in it. Is there a way that I can collapse a table and then expand it to accomodate the need to stay within a page? Also, changing the content scale is not a solution I'd like to go with as it would require me to keep all tables visible-- I'd like a cleaner look to each sheet.

    Hi David,
    Welcome to Numbers discussions.
    In a table you cannot drag up or to the left past the final occupied cell. Of course you can make the table bigger.
    Yes that would be a nice feature for sure.
    The folks on these Discussion boards are as yourself end users not Apple employees. Please accept my following suggestion: at the top of your screen to the right of the blue Apple please click "Numbers" > "Provide Numbers Feedback". This makes your request known to the Pages team directly. I've sent many as well. I've sent many as well.
    Let's hope that the next version of Numbers (iWork) will incorporate many of the requested enhancements.
    Thank you in advance for doing that.
    Sincerely,
    RicD

  • How to display a table after clicking on a chart in ssrs?

    Hi all experts,
    I need to display a table control after clicking on a chart. 
    I was looking for the visibility property of the table which can be set based upon click on the bar chart.
    Please respond asap...

    Hi Manisha,
    If I understand correctly, you want to control the table visibility through clicking the chart. In this case, please refer to the detailed steps below:
    1. Create the parameter named Control, check the Boolean option in the drop-down list of the Data Type, and select Hidden in the parameter visibility tab.
    2. Specify the default value of the parameter to True.
    3. Click the series in the chart and select “Action” in the Properties pane and click the ellipsis as follows:
    4. Select the “Go to report” tab, and select the self-report in the “Specify a report” tab.
    5. Pass the parameter as bellows:
      Name:Control  Vaule:false
    6. Right click the table control, select Tablix Properties and select the Visiblity property.
    7. Select the tab of Show or hide based on an expression, and add the expression below:
    =iif(Parameters!Control.Value=true,true,false)
    If you need more assistance, please feel free to let me know.
    Regards,
    Heidi Duan

  • The master table of a materialized view

    Hi Everybody,
    I have in my database a snapshot created on multiple tables, like this:
    create materialized view <some_name>
    as select <some_fields>
    from a,b, c
    where <some_join_conditions>
    Questions:
    1. What "algorithm" uses Oracle to determine the master table of the snapshot? The master table visible in USER_SNAPSHOTS?
    2. How can I change the master table chosed by Oracle with the table I want? I tried using some tuning hints (for example "leading table") but it is not working.
    The table I want to force as master table is a remote one accessed by dblink. Does this change anything?
    Thank you very much.
    Daniela

    We had issue with similar probelm and found that driving table is becoming master table, which was last table on your from clause (c).
    However the Query Optimizer is COST based, and we are not sure this holds true forever.
    We are looking at these answers too.

  • How to copy the Data From Oracle Table To SAP Table

    Hi Friends,
    We need to copy the data from Oracle Database Table to SAP Table. The data should be updated simultaneously in both tables . Should I write a program that contains the native sql statement like EXEC SQL PERFORMING WRITE,....
    I appreciate any suggestions regarding this.
    Regards
    CSM Reddy

    Hi,
    since you posted this question in the DB2 forum I assume that you are using a DB2 database for your SAP system.
    To access a table from a legacy ORACLE database you may use the DBSL multiconnect feature. I.e. you open a secondary connecction in the SAP system to your ORALE database. You can then ready the data from the ORACLE database into an ABAP internal table and insert it afterwards into the DB2 table on the main connection.
    Another way to access an ORACLE table from a DB2 database is to use the DB2 federated database feature. This requires a little bit more DB2 skill. With this feature you can make the ORACLE table visible within the DB2 database. To copy data you can then simply use a "INSERT ... SELECT" statement. 
    Regards
             Frank

Maybe you are looking for

  • Reducing form load in Adobe Reader / Optimizing Interactive Dynamic Forms

    I have a four page form that is taking approximately a minute to minute and a half on my T61P with 3 Gigs and Intel Pentium CoreDuo T7500 @ 2.2GHz. Everything loads up fine so it is only this pdf that is the problem. Can someone help me or point me t

  • Microsoft Bluetooth Notebook Mouse 5000 back button

    Ok, the thing has a long name, but its pretty cool. Does anyone know how to get the back button to be a back button, and not a scroll wheel click button? The software from Microsoft has a way to customize the scroll wheel click but not the back butto

  • Is there a red & blue 3d glasses filter?

    Hi there, I'd like to make a version of my film for use with red/blue 3d glasses. Is there a filter in FCP that will create the red/blue offset image look? Thanks! Simon

  • FCP 7 Crashing upon startup

    Have used FCP for years. Is crashing right now. It seems to have happened after a changed a scratch disk. Would really appreciate some help. Crazy

  • Facebook app on N97

    is it me, or can you not see notifications on the FB app? is there a way to enable this?