How do I hide a table column

Hi,
I'm trying to create a link column in a table by declaring one column as link type and set its linkColumnKey to another column which contains the actual text of the http URL. I'd like to hide the second column in the table. How do I do that? One of the posts I found said that I can set the column type to USER and an empty title, then the column won't be displayed since I don't have a renderer. However, the column still gets displayed.
Any help would be appreciated.
Thanks,
Jenny

Try this
this.model.getColumn("col1").setType(TableColumnType.LINK);
          this.model.getColumn("col1").setLinkClickTarget("_blank"); //to open in new win
          this.model.getColumn("col1 Opportunities").setLinkColumnKey("col2");

Similar Messages

  • OBIEE - How to selectively hide or disable columns on a dashboard prompt?

    Hello! I need some help with OBIEE dashboard Prompts. Any help will be highly appreciated!
    Question 1. How to selectively hide or disable columns on a dashboard prompt or the entire prompt? There seems to be no "hide" or "dsable" options on
    prompts.
    Question 2. How to synchronize 2 different prompts on the same dashboard?
    The application is this: There are total of 2 tabs on a dashboard ("tab_1" and "tab_2"). Each tab uses different prompts ("pr_1" and "pr_2"), having just one first drop down column in common ("Product_id").
    The desired functionality is this: user selects "Product_id" on the first tab's prompt, which filters its reports (on "Go") and also propagates to the second tab. When user clicks on the second tab, the reports there are already filtered (or begin filtering) by "product_id", selected on the first tab.
    Question 3. How to prevent the reports from retrieving when switching to a different tab on a dshboard? Specifying dummy default values in the prompt does
    not seem to preven reports from retrieving, which still takes time.
    Thank you very much!
    Roger

    Regarding Question 2:
    What you need to have is a Dashboard scope dashboard prompt for Product_ID (i.e., Don't use the column prompt from the prompt tab within the Request.)
    1) Create the dashboard prompt, put it on tab1 and save the prompt to a presentation variable, say prmtProdID. Set the scope to "dashboard." (This is the default, by the way.) If you create a dashboard prompt and set the scope to "dashboard," then the prompt values selected will hold true across dashboard pages.
    2) On tab2, go to your report and in Criteria mode, apply a filter to the Product_ID column making it equal to the PV. (Click the filter icon, Add>Variable>Presentation Variable and type prmtProdID. Save.)
    When the user selects a Product_ID on tab1 of your dashboard and hits "Go," not only will it filter your report on tab1, when you go to tab2 the report here will be filtered with the same value selected in the prompt on tab2.
    Regarding Question 3:
    If you implement 2, you cannot implement 3. You can't have it both ways. Not for the same scenario. But if you want to know how to do it in general, read this:
    http://obieeone.com/2009/08/24/how-to-stop-queries-to-automatically-fire-off-once-entering-dashboarddashboard-page/

  • How to deselect a select table column?

    Hi!
    I've implemented a table with selectable columns.
    This is working fine, but I'm not clear how to deselect the selected table column with code.
    How to do so?
    Thanks for any hints!
    Peter

    Hi Peter,
    Try this code
      DATA lo_el_element TYPE REF TO if_wd_context_element.
    * Make row selected
    lo_el_element->set_selected( abap_true ).
    * Make row De-selected
    lo_el_element->clear_selection( ).
    Hope you get the hint.
    Regards
    Nawal Kishor Mittal

  • UIX: How to add linked view table columns to the Read-only table

    Hi
    I have two tables
    T1: ID, STAFF_ID, NOTE
    T2: STAFF_ID, USERNAME
    I have created corresponding entity objects (E1, E2), views (V1, V2), association A(E1->E2 as *..1 using STAFF_ID) and viewlink VL(V1->V2 as *..1 using association A).
    My model in AppModule looks like
    V1
    ----V2 via VL
    Now I have single UIX page in which I drop V1 as Read-only table. The table displays columns correctly: ID, STAFF_ID, NOTE
    What I want is to add a column STAFF_ID from the V2 into this table. I have tried to drop it into the table but when the page is run it does not display anything in that column. It has to do something with binding.
    I have done similar test with dropping V1 as read-only FORM and then added STAFF_ID from V2 as messageTextInput and everything is rendered correctly.
    Anyone knows how to do the same thing but with table?

    Yes that is true but I would like to give another example where this may not apply.
    Say I have 3 tables
    CLIENT(INDIVIDUAL_ID,...)
    ADDRESS(ADDRESS_ID,...)
    ADDRESS_HISTORY(ADDRESS_ID, INDIVIDUAL_ID,BEST_ADDRESS)
    where ADDRESS_HISTORY is intersection table in CLIENT to ADDRESS many to many relationship.
    Suppose I have VO2 that consists of ADDRESS and ADDRESS_HISTORY entities (corresponding association exists) and user needs to add new address for the selected customer in VO1 (made from CLIENT entity). There are several issues here:
    1) An input form made out of VO2 must contain an entry for BEST_ADDRESS flag but since it will be read-only, seems that this approach may not work. However, I found a post re:Updating view objects with multiple entities that provides workaround this.
    2) In that case assume that I use DBSequence to automatically add ADDRESS_ID when user inputs new record in this input form. I am using DB Trigger on ADDRESS table and have selected ADDRESS_ID in ADDRESS entity as DBSequence. Now observe that VO2 would contain another ADDRESS_ID from ADDRESS_HISTORY entity which has to be automatically populated with the same value. How?
    In a nutshell my question relates to the problem how to automatically populate intersection table when new record is added to the detail. But the trick is that some attributes of the intersection table must be inserted by the user in the form..
    Please advise

  • How to insert & in a table column

    Dear all,
    How can I insert & in a table column
    create table test(det varchar2(2));
    In this table I want to insert & symbol.
    How can I insert & symbol inthis table.
    Thanks

    You should use:
    SQL> set define offto switch off the "&" symbol as the defined subsitution variable character.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch8.htm#sthref1566
    then use:
    SQL> set define &to turn it back on again.

  • How to reference Item with Table Column

    Hi Community,
    we want to reference Table Column with an Item. This Item is a Select-List wich includes a Date. Befor doing something, you have to select this date. After that we want to create a new row in with a date-column. This date should be the same as in this Item. We are using a tool which is called HTML-DB. We reached that there is shown the date, but there is no value. It is an updateable report row.
    How can we copy this value from the Item in this new column?
    I am sorry for my english, but I hope everyone understands our problem.
    Greez Rob

    I did it another way. We are using an old HTML DB version (v1.6). And I think it is a bug to reference a date with a column. I have this opinion because we copied the table but we changed the format. we are using varchar instead of date, and it is working without problems.
    We also tried &px_name and it didn't work.
    Thx anyway!

  • How can I hide primary key column in BC4J form

    I have populated a primary key with dbsequence and how can I hide it on the form. It is populated in the DB by a trigger.

    I have populated a primary key with dbsequence and how can I hide it on the form. It is populated in the DB by a trigger. To hide it, edit the attribute using attribute-editor that you bring up by double-clicking on the attribute in the "StructurePane" .
    Then go to control-hints panel and mark the attribute setting for Display = Hide.
    Then UI wizards will not add the attribute into generated panels.
    However once you have UI generated, this hint is no more used.

  • How to implement authorisation on table columns

    Can anyone suggest a smart way to use Weblogic platform capabilities to implement
    a table column security/authorisation "control". ie. control on a column by column
    basis who can view or update a column? Scenario - a primary data owner "owns"
    a set of records in a database, but would like to give (or delegate) selected
    access to groups of users to view and/or update the content of certain fields
    in the recordset.
    Seems like this is probably not that uncommon a requirement but can't seem to
    find any design patterns for this.

    Dean Tine wrote:
    Can anyone suggest a smart way to use Weblogic platform capabilities to implement
    a table column security/authorisation "control". ie. control on a column by column
    basis who can view or update a column? Scenario - a primary data owner "owns"
    a set of records in a database, but would like to give (or delegate) selected
    access to groups of users to view and/or update the content of certain fields
    in the recordset.
    Seems like this is probably not that uncommon a requirement but can't seem to
    find any design patterns for this.The first question is, if you are going through an application server
    why do you need to do anything clever at all? You can check the role of
    authenticated users and grant or deny access based on that (i.e. some
    dynamically generated SQL dependent on role)?
    If you really need support at the DBMS level, you can use SQL VIEWs.
    Create a view containing the appropriate columns and grant permissions
    to that view to the appropriate users. With an app server you will need
    multiple connection pools though and it quickly gets messy.
    Alternatively use stored procedures. Depending on your DBMS this might
    be required (if views aren't updatable) or could give better
    performance. Or worse performance.
    Robert

  • How to find real owner.table.column in a view

    This seems pretty easy but I haven't been able to locate a way using the dba_views or all_views to pinpoint the exact owner.table.column that a given view column is based on.
    I can retrieve the text of the view from dba_views, but I don't see something like all_tab_columns that has a second set of owner, table and column_name columns to show what the underlying column in a view is.
    e.g. create me.view zz as select a.acp,b.acno from tom.tab1 a, fred.tab2 b where a.key = b.key
    desc me.zz
    acp varchar2(4)
    acno number
    Now I would like to select something like the following from all_tab_columns:
    select column_name,orig_owner, orig_table, orig_column from all_tab_columns where owner = 'ME' and table_name = 'ZZ'
    acp tom tab1 acp
    acno fred tab2 acno
    Does such a view exist to extract this information?

    Robert,
    By hosed do you mean there is no way to get this information from an Oracle view? I'm not sure what you mean by sys.all_views.owner, that just tells the owner of the view itself, not the owner.table.column of each column in the view. If the view is all based on a single table then obviously I can figure out the information, but many/most views join several tables, even from different schemas.
    What I am looking for is the equivalent of all_view_columns which has view column information as well as the base table owner.table.column. -quinn

  • How to save and retrive table column values added via view enhancement

    Hi,
    I want to enhance standard webdynpro component FITE_VC_REVIEW.
    I want to add new column to Fight Info Table and also to Hotel Info table.I can do UI changes via view enhancement .
    First Approach: I add new fields to Flight Info and Hotel Info structure.
    Create an additional Coolum in Flight Info and Hotel Info Table and Bind it to newly created field in structures.
    Question :
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    Second Approach: I create a new table/structure for my requirement and bind table column to these fields.
    Question:
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    And which approach will be good.
    Regards,
    Madhvika

    no ans yet

  • How to save and retrieve table column values added via view enhancement

    Hi,
    I want to enhance standard webdynpro component FITE_VC_REVIEW.
    I want to add new column to Fight Info Table and also to Hotel Info table.
    First Approach: I add new fields to Flight Info and Hotel Info structure.
    Create an additional Coolum in Flight Info and Hotel Info Table and Bind it to newly created field in structures.
    Question
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    Second Approach: I create a new table/structure for my requirement and bind table column to these fields.
    Question:
    What all changes I have to make to save and retrieve values from database table.
    Kindly guide with Steps
    And which approach will be good.
    Regards,
    Madhvika
    Moderator message: please have a look in the dedicated "Web Dynpro ABAP" forum.
    Edited by: Thomas Zloch on Feb 16, 2011 3:02 PM

    no ans yet

  • How to get only selected table columns from a DB table to be display in pag

    hi i have some 18 columns in my database table, but i need to add only the selected columns to be added to my table component. How can i do it. any idea regarding this. Please help me out to solve this problem.
    Thank You in Adavnce.

    This is an ambiguous question but I will give 2 answers for 2 interpretations
    1 In the Outline window, right-click the rowset in the Session bean (or whatever bean you put the rowset in, by default it is the session bean). In the top pane, select or clear the checkboxes to determine which columns are obtained by the query.
    2 Right click the Table component and choose Table Layout, move the columns you don't want to the left panel
    Resources: http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/databoundcomponents.html
    If you meant a different question, please clarify

  • Web Dynpro ABAP: How to do checkboxes in table column?

    Hi,
    In Web Dynpro for ABAP, I have a table, where one column consists of check boxes, and the user should be able to check some boxes in some lines. In the context of my view, I created a node tied to a DDIC structure, with some attributes. The attribute where I want to see the checkboxes is of type boolean. In the layout I create an element of type table. Then I create the binding to the context node and for the columns I use cell editor of the appropriate type, that is, checkbox. However, when I test my application, there are no checkboxes at all. What am I doing wrong?
    Thanks,
    Ira

    >
    Jenny Karunakaran wrote:
    > Hi Jung,
    >
    > Thanks for the reply. But I dont know how to assign value set to this attribute(i.e. Context atribute to which filter value property is bound). Can I use a supply function for this ?
    >
    >
    > Regards,
    > Jenny
    No. A value set and a supply function are two completely different things. You use this Context API to populate the value set for an attribute:
    IF_WD_CONTEXT_NODE_INFO=>SET_ATTRIBUTE_VALUE_SET
    Value Sets are also how ByKey UI elements (like the DropDownByKey) are built.  Here is a help document that discusses value sets - but in the context of the ByKey UI elements.  The process is the same for creating the value set however:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bb/69b441b0133531e10000000a155106/frameset.htm

  • Can anyone describe how to cut and paste table columns in Data Modeler?

    A number of times I have tried using the copy and paste columns functionality in Data Modeler, but in all circumstances when I've copied a set of columns from a table (by highlighting the column set and pressing the copy columns button), opened a new table, and pressed the paste columns at the end button, nothing has happened. is there some unintuitive thing that I need to do?

    Ok, thanks.
    I see I left "Copy" out of the first reply I sent.
    1. Create a table or tables, say tables A and B.
    2. Expand the table which has the columns you want to copy, say table A, in the browser
    3. Shift (or ctrl) select the columns and select COPY from the context menu.
    4. Click in the table you want to copy to, say table B, in the diagram and right-click to use the context menu , select paste
    or select the table B in the browser and right-click, select paste.
    Are you using the copy in the menu?
    There was a bug in our Early Adopter that required you continued to hold the keys, but this has been addressed - you can read this thread to see how things were handled there: Re: Data Model: set of columns

  • How can i hide and display columns dynamically

    Hi,
    Is such a thing possible in BeX.?????
    Following is the reqiurement.
    Number of columns with the forecast values are to be from Forecast 1&2 till the month before the chosen selection. In order for us to calculate the variance, you should have 2 forecast values. 
    If March is chosen please show Forecast 1& 11, Forecast 2&10
    If April is chosen please show Forecast 1& 11, Forecast 2&10, Forecast 3&9.
    If November is chosen please show Forecast 1& 11, Forecast 2&10, Forecast 3&9, Forecast 4&8, Forecast 5&7…………..Forecast 10&2.
    Please guide how can this be achieved.
    Regards,
    Rathy

    Hi,
    well at least you can use some vba macros to achieve that. Best would be to have a static query embedded in a workbook and a sheet where the results are displayed as copies from the query via a macro.
    regards
    Siggi

Maybe you are looking for

  • Restoring a time machine from an old hard drive

    I recently had a HD failure in my macbook pro.  I sent it back to mac and they put in a fresh new hard drive, i'm trying to use a time machine back up from before the hard drive died but when i go into time machine i can't get the backups to load.  I

  • Please help me solve this issue when I install 11.5.10

    every thing others is fine, just 'System Utilities Check' have some problem, the result blow: System Utilities Check command : cmd.exe /c E:\Stage11i\startCD\Disk1\rapidwiz\bin\adchkutl.cmd C:\mksnt C:\VC98 E:\Stage11i\startCD\Disk1\rapidwiz>echo off

  • PC photos to iMac IPhoto

    Returning to Mac from PC. Last used Mac in 1992. Much changed and bou is it lovely, but... Copied my PC photos to a folder on iMac via network connection to PC. Then imported photos (9K+ photos) to iPhoto. Proceeded to merge, edit, organize, etc. Com

  • HT4859 how do i restore documents lost from iCloud?

    how do i restore documents lost from iCloud?

  • Simple way to declare a String

    I have a String with lot of quote characters and line breaks etc in java If a string has quotes we use \" , I am wondering if there is any other to way to create a String which has lot of quotes and line breaks etc in my case I have this string can I