Addition of a custom column in a table view

Hi all,
I want to add a custom column in a table view. Kindly tell me if this is possible.
Regards,
Vivek Pandey

Hi Vivek,
This can definately be done....you will have to declare and iterator and in the GET_COLUMN_DEFINITIONS, declare the column name....
Referr to blogs :
<a href="/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator Basics</a>
and
<a href="/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators Iterator.</a>
The second blog shows how to insert a icon, which is an extra column...
Hope this helps.
<b><i>Do reward each useful answer..!</i></b>
Thanks,
Tatvagna.

Similar Messages

  • Dynamically Hiding Column in a Table View in VC Model

    How to dynamacally hide the columns in a table view in a VC model. Through the expression in Control Property, Form element/field or table view as a whole can be made hidden, however, the individual column can not seem to be hidden.
    I am using VC server version 700.8.0.1.
    Any help would be much appreciated.
    Kind Regards
    Sanjoy

    In this scenario, if the source is SAP BI, you can use the webapi commands. If not, you would have to have 2 separate tables in different layers and you can show and hide those layers or UI elements...

  • BSP: How to create check box in a column of a Table View

    Hi All,
    I have a table view in Web IC scenario. my requirement is to display check box in one of the column of the table view.. so that i can select multiple lines from the table and do some calculations!.
    Anybody have any hint/clue
    Thanks in advance,
    sudeep v d.

    Hi,
    This can be achieved by using a Table iterator.
    Please check the standard examples for this.
    Thanks,
    Rashmi.

  • Hide a column in one table view but show it in another

    I need to hide a column in one tables view but show it in another table view in the same report. Is this possible?
    Any help on this is appreciated.
    Edited by: VNC on Jan 11, 2010 9:26 AM

    Hi VNC,
    If you're crafty with javascript, you could probably write a script that would set the CSS property DISPLAY to NONE to hide the column in the table view you didn't want but leave it there in the view you did want.
    -Joe

  • To display Total sum of a column in a table view control ?

    Hi,
      I am unable to display the sum of a column in a table view control ( using HTMLB ). How should one display the sum of a column in a table view control ?
    Thanks in advance.
    Vara.

    Hi there, do a search in this forum for TableView Iterator. Then check out these weblogs:
    /people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    An Iterator is the way to go for you

  • Add custom column in default list view in sharepoint

    Hello,
    How to add custom column in default list view in SharePoint 2013? In list view we have view fields section. But its not allowing to add any static text.  I want to add one button/textin view fields. How to add that?
    <View Name="{C7499466-A865-4742-8511-5536D2521D1C}" MobileView="TRUE" Type="HTML" Hidden="TRUE" DisplayName="All Documents" Url="/SectionManagement/SitePages/Untitled_1.aspx" Level="1"
    BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/dlicon.png?rev=23" ><Query/>
    <ViewFields>
    <FieldRef Name="LinkFilename"/>
    <FieldRef Name="LinkFilenameNoMenu"/>
    </ViewFields>

    Hi,
    to add a field to a view use this
    <ViewFields>
    <FieldRef Name="LinkFilename"/>
    <FieldRef Name="LinkFilenameNoMenu"/>
    <FieldRef Name=[InternalNameOfCustomField]/>
    </ViewFields>

  • How to add a custom column in a table?

    Hi,
    I have a requirement to add a custom field into the table of view InrLastHist of component ICCMP_BT_IRHIST. The data to be display in the column will be based on the standard category column.
    I was thinking of adding a value attribute into the current BTORDERCUSTHIST, and write its get method to display the custom data, BUT the add attribute wizard doesnt allow me to do so. There is a note saying "Value attribute: Attribute that is not contained in any BOL entities (not supported in this version)".
    So how do I do it? Pls advice.

    Hi,
    You need to find this bol in trx GENIL_MODEL_BROWSER, find the structure associeted and you have to create a field in this structure, after you create the attribute using this field that you created.
    Regards,
    Caíque Escaler

  • JTable with custom column model and table model not showing table header

    Hello,
    I am creating a JTable with a custom table model and a custom column model. However the table header is not being displayed (yes, it is in a JScrollPane). I've shrunk the problem down into a single compileable example:
    Thanks for your help.
    import javax.swing.*;
    import javax.swing.table.*;
    public class Test1 extends JFrame
         public static void main(String args[])
              JTable table;
              TableColumnModel colModel=createTestColumnModel();
              TestTableModel tableModel=new TestTableModel();
              Test1 frame=new Test1();
              table=new JTable(tableModel, colModel);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(200,200);
              frame.setVisible(true);
         private static DefaultTableColumnModel createTestColumnModel()
              DefaultTableColumnModel columnModel=new DefaultTableColumnModel();
              columnModel.addColumn(new TableColumn(0));
              return columnModel;
         static class TestTableModel extends AbstractTableModel
              public int getColumnCount()
                   return 1;
              public Class<?> getColumnClass(int columnIndex)
                   return String.class;
              public String getColumnName(int column)
                   return "col";
              public int getRowCount()
                   return 1;
              public Object getValueAt(int row, int col)
                   return "test";
              public void setValueAt(Object aValue, int rowIndex, int columnIndex)
    }Edited by: 802416 on 14-Oct-2010 04:29
    added                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Kleopatra wrote:
    jduprez wrote:
    See http://download.oracle.com/javase/6/docs/api/javax/swing/table/TableColumn.html#setHeaderValue(java.lang.Object)
    When the TableColumn is created, the default headerValue  is null
    So, the header ends up rendered as an empty label (probably of size 0 if the JTable computes its header size based on the renderer's preferred size).nitpicking (can't resist - the alternative is a cleanup round in some not so nice code I produced recently <g>):
    - it's not the JTable's business to compute its headers size (and it doesn't, the header's the culprit.) *> - the header should never come up with a zero (or near-to) height: even if there is no title shown, it's still needed as grab to resize/move the columns. So I would consider this sizing behaviour a bug.*
    - furthermore, the "really zero" height is a longstanding issue with MetalBorder.TableHeaderBorder (other LAFs size with the top/bottom of their default header cell border) which extends AbstractBorder incorrectly. That's easy to do because AbstractBorder itself is badly implemented
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6459419
    Thanks for the opportunity to have some fun :-)
    JeanetteNo problem, thanks for the insight :)

  • Filtering feature for a column in a table view

    Hi,
    I have a table view in which the column should have a feature of filtering.
    How do we enable that.
    Thanks and Regards,
    Radhika

    Hi Radhika,
    I don't understand exactly why you're looking for a specific procedure to enable the filtering feature. Column filtering should be available for all tables in CRM2007 by default without further action. There are only few cases where filtering doesn't work.
    You can open the dropdown for sorting and filtering in the WebClient UI by just clicking the column header.
    Are you referring to a SAP delivered view or a custom built one. in the latter case make sure you use the "thtmlb:cellerator" tag instead of the "thtmlb:tableView" one to be on the safe side.
    Best regards
    Peter

  • Custom column in a list view web part for a multilingual site does not take on custom language labels. Stays in default language.

    Hello all,
    I have what so far appears to be a fairly unique problem.  We are running a multilingual SharePoint 2010 environment with English as the default language and French as the secondary.  We have setup the sites in a variance relationship, but the
    issue I am discussing happens outside of a variant as well.
    We have created a library outside the variant (but within the collection) that the two sites must share.  A list view web part was created via Designer to add to each site to provide a quick view into the list.  If we are in the libary and switch
    to French, then update the column label it will remember the setting (because of the resource file) and maintain it as the language is flipped back and forth.  Where it doesn't work is as a web part in a variant or where the language is different.
    If the language is different, the out of the box columns work find, but the custom columns (all site columns not library\list columns) remain as the english label.  It doesn't matter if within a variant or outside with the browser language changed. 
    It always reverts back to English.  It's like it isn't using the same resource file that was used in the list itself.
    I created a custom view and modified it with xslt as per
    http://sharepoint.stackexchange.com/questions/50004/how-to-change-column-title-for-a-view-but-not-modify-the-list but this only worked within the list and did not occur in the list view either.
    I can't be the first that has come across it, either I am not performing my searches properly, no one has ever documented a fix for this or this is something we just can't fix with OOTB tools.  That's the other thing, the solution has to be accomplised
    OOTB or with minor client side changes.  I can't fire up Visual Studio because they are piloting Office 365 and have put a "No custom code" mandate on for migration.
    Thank you all in advance.

    Ok, I have come up with a solution.  I edited the XSLT for the web part on the page.  I did the following:
    1.    Create the variants in the Site Ccollection
    2.    Create the library outside of the variants.
    3.    Add all the columns you require for the library.  It is very important all the columns are there before you move on.
    4.    Create a French and English view.
    5.    Create the list view web part via designer.
    6.    Add the list view web part to each site selecting the appropriate view to use.
    7.      Edit the page in SharePoint Designer 2010.
    8.      Place cursor in the column you wish to modify.
    9.      Click Design in the List View Tools on the ribbon.  
    10.     Then click Customize XSLT and select Customize Item.  Select this option otherwise you will generate a **LOT** of unnecessary XSL code.
    11.     You are looking for a piece that resembles the following:
            <xsl:with-param name="fieldtitle">
              <xsl:value-of select="@DisplayName"/>
            </xsl:with-param>
    12.      Modify it by typing in the actual column name you want.  You should end up with something like this:
            <xsl:with-param name="fieldtitle">
              New Column Name.
            </xsl:with-param>
    13.      Now, for this page only, the column will be renamed.
    There are some caveats:
    1.    Doesn’t appear to work in a publishing portal.  I think this has to do with how SP stores the pages in this case.  In a publishing portal you can only modify the page layout which won’t work as we need to modify the content.
    2.    If you add another column, you will need to repeat the XSLT modification
    Anyways, I hope this helps out any others with the same issue or need as I had.

  • No data for Parent-child hierarchy column in Pivot table view

    Hi all,
    I used OBIEE 11.1.1.6.2 Version.
    I drag one Parent-child hierarchy column and one measure and show result with a pivot table view.
    But when I click "+" icon to show detail level data,
    It messaged that: "*the layout of this view combined with the data,selections,drills,or prompt values chosen resulted in no data*."
    But it can show every-level data when I used table view.
    It was so strange..
    Did anybody meet this before?
    Thanks in advance.
    regards,
    Anne

    Hi,
    Yes, I have the same problem with pivot table for hierarchy dimension.
    If you use a normal table (not pivot) it seem to work. Unfortunatley with restrictions as normal table view have.
    Same problem still exist in 11.1.1.6.5
    I have logged a SR to Oracle about this.

  • Adding custom column to Process tracking view

    I have a requirement that in process tracking screen, some custom column (e.g instruction) should be added so that different processes listed there can easily be differentiated.
    I tried to do this change in Workspace through Preferences->Manage Column Headings -> Tracking. But it affects only the Tasks view (Audit tab) for the process and not the initial process tracking screen. I also tried creating a process variable and made it Visible in UI and Searchable so that it is shown in the column heading list. But still that heading does not show up in the initial process tracking screen.
    Is there way through which we may be able to customize the column headers for the initial tracking screen?
    (The server is Livecycle 8.0.1)
    Thanks,
    Ashutosh

    Not that I'm aware of.
    However, we have built an enhanced tracking and enquiry tool that provides a lot more flexibility than the built-in tracking, and is also very easy to configure.
    Read about it: http://www.avoka.com/avoka/enquirytool.shtml
    Try it: http://www.avoka.com/apps/checkcookie?location=/apps/qpacdownload&qpac=y&qpac_code=Worksp aceEnquiryTool1.8
    Howard
    http://www.avoka.com

  • How to add custom columns to the list view in Finder

    Hi,
    I'm looking for a way to view additional file details in the list view in Finder, for example audio bit rate, so I don't have to do "Get Info" for each file separately. I couldn't find a way to add columns other than the ones listed on the view options dialog.
    Can anyone help me find a way to do it?
    Thanks,
    Tal

    Have you checked the Help menu for what you want to do? I found this in Apple support - List View Options
    Check the AppleScript Forums. There is probably a script that you can use.

  • Hiding a Measure Column in Pivot Table view in OBI 11.1.1.6.7

    Measure column hide property is not working with OBI 11.1.1.6.7
    I have checked the flag available in column property to hide the measure column . Any idea

    Measure Columns can't be hidden like an attribute. How ever you can use custom style sheet for Value and Header Properties to not show the measure.
    for the "Custom CSS Style Options (HTML Only)" under measure properties of the column set "Use Custom CSS Style" value to 'display:none'.
    Let me know if this worked.
    Regards,
    Jay

  • Hiding table columns in a table view in JspDynpage

    hi,
    i have a situation where i need to hide a particular column in a tableview.
    thanks

    Hi,
    What senthil has given is for dynpage not for jspdynpage
    If u r using jspdynpage
    <hbj:tableView
        id="myTableView1" >
    <%myTableView1.setColumnName("columnName",2);%> /2-->col.no/
    <%myTableView1.setColumnInvisible("columnName");%>
    </hbj:tableView >
    u should set column name first using setColumnName
    Regards,
    Tamil K

Maybe you are looking for

  • I can't get the tv shows to play... just getting a black screen.

    I can't get the tv shows to play... just getting a black screen. HELP!!!!!

  • Update item display only

    Hi, An item with 'display as' is 'display only' will not be updated (via a process after submit). But it will be updated when it is displayed as 'text field'. How come? Regards, Robbert

  • Using more than one phone number on single iPhone for iMessage?

    Is it possible to intentionally have more than one phone number listed under Settings > Messages > Send & Receive?  I know I've heard of 'glitches' where more than one phone number is shown accidentally and how that is solved (signing out of iMessage

  • Response Time Problem in IE when rendering records to exce- JSP application

    Hello, My application is a web application and uses JSP and WebSphere server. There is a functionality when a button is pressed the page sends the request to server and the search result is shown in a spreadsheet(excel file). Now when we use Mozilla

  • Dropped frames on DV capture

    In my continuing battle with FCP7, I attempted to load 3 min of older DV ftg to make a dvd.  I set capture to DV NTSC 48 kHz and used a new Firewire 800 (bought at Apple) and captured it (my old firewire doesn't fif the new iMac). But upon play a box